Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
if the tree presentation of an access control list contains restrictions that are not supported the restriction provider will ignore them upon reading the policy from the content repository.
this will lead to ACEs being generated that contain an incomplete restriction set. however, the access control manager fails to detect them as incomplete or invalid, which upon editing of the policy will lead to
- incomplete ACEs being written back or
- AccessControlValidator failing in case the incomplete ACEs result in duplications
instead ACEs containing unsupported restrictions must be detected and removed from the policy upon editing (with a error being logged).
how to get there:
- custom restrictions being written to the repository and the custom restriction provider being uninstalled from the security setup
- using newer restrictions and then using that repository content with an older oak version that doesn't support those restrictions
Attachments
Issue Links
- causes
-
OAK-9791 Missing check for restriction node being present
- Closed
- relates to
-
OAK-9778 Improve exception message with OakAccessControl0013 regarding ACE duplicates
- Closed
- requires
-
OAK-9782 CompositeRestrictionProvider must call validate on aggregated providers
- Closed
- Testing discovered
-
OAK-9782 CompositeRestrictionProvider must call validate on aggregated providers
- Closed
-
OAK-9779 PermissionConstants.PERMISSION_PROPERTY_NAMES does not list rep:isAllow
- Closed
- links to