Message codes
The following lists the common message codes that SpringSecurityAclModule uses.
ACL permissions form
Message codes for ACL permissions form that can be configured if EntityModule is active. The default created ACL permissions form view name is aclPermissions.
The following parameters are used in the generated message code:
- ViewPrefix
-
Is the message code prefix for the ACL permissions view. Usually of the form EntityPrefix.views[viewName].
The viewName is the name of the ACL permissions form view. Usually this is
aclPermissions
when using theAclPermissionsFormRegistry
.Please refer to the EntityModule documentation for the generated values of EntityPrefix.
- formName
-
Value of the
name
property configured on theAclPermissionsForm
. If you did not explicitly set one, the value will bedefault
. - sectionName
-
Name of the
AclPermissionsFormSection
that the message is for. Should always be set. - FormPrefix
-
Represents the combination: ViewPrefix.aclForm[formName]
- SectionPrefix
-
Represents the combination: ViewPrefix.aclSection[sectionName]
- SectionInFormPrefix
-
Represents the combination: ViewPrefix.aclForm[formName].aclSection[sectionName]
- permissionName
-
Name of the
AclPermission
under which it is registered in theAclPermissionFactory
, for exampleread
. See the known ACL permissions for all default permissions. - permissionGroup
-
Name of the permission group on a form section.
Message code | Description |
---|---|
SectionInFormPrefix.title |
Title of the section. |
SectionInFormPrefix.description |
Description of the section. |
SectionInFormPrefix.permissionGroup[permissionGroup] |
Label for that permission group.
Only if the permission group had a name assigned. |
SectionInFormPrefix.permissionGroup[permissionGroup].tooltip |
Description (optional tooltip) for that permission group.
Only if the permission group had a name assigned. |
SectionInFormPrefix.permission[permissionName] |
Label for that permission. |
SectionInFormPrefix.permission[permissionName].tooltip |
Description (optional tooltip) for that permission. |
SectionInFormPrefix.removeEntry |
Title of the button to remove an entry. |
SectionInFormPrefix.noEntries |
Text shown if there are no specific entries with permissions. |
ViewPrefix.properties.propertyName |
Label for the property that represents the new item selector.
This is usually the entity name of the type of entity that would be selected. |
ViewPrefix.feedback.permissionsUpdated |
Message shown after permissions have been saved. |