Note permission elements

File security-config.xml must contain a <NoteAccessProfile> element for every note security type listed in the NoteSecurityType typelist. If you add a new note security type to the typelist, then you must add a corresponding <NoteAccessProfile> element to security-config.xml.

Thus, a <NotePermission> element in the security-config.xml file controls access to a note type.

The <NotePermission> element has the following syntax:

<NotePermissions>
  <NoteAccessProfile securitylevel="level">
    <NoteCreatePermission permission="perm"/>
    <NoteDeletePermission permission="perm"/>
    <NoteEditBodyPermission permission="perm"/>
    <NoteEditPermission permission="perm"/>
    <NoteViewPermission permission="perm"/>
   </NoteAccessProfile>
</NotePermissions>

The attributes on the various elements have the following meanings.

Element

Attribute

Required

Description

NoteAccessProfile

securitylevel

Yes

A document security type defined in the NoteSecurityType typelist.

NoteCreatePermission

NoteDeletePermission

NoteEditBodyPermission

NoteEditPermission

NoteViewPermission

permission

Yes

A system permission defined in the SystemPermissionType typelist.

The following code sample illustrates the security access levels for the Sensitive security access type.

<NotePermissions>
  <NoteAccessProfile securitylevel="sensitive">
    <NoteViewPermission permission="viewsensnote"/>
    <NoteEditPermission permission="editsensnote"/>
    <NoteDeletePermission permission="delsensnote"/>
  </NoteAccessProfile>
 </NotePermissions>
Note: PolicyCenter grants access permissions based on the roles assigned to a user only. It is not possible to restrict Note access based on security zones or groups.