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 |
|---|---|---|---|
|
|
Yes |
A document security type defined in the
|
|
|
Yes |
A system permission defined in the
|
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>
