Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9775

ACEs with unsupported restrictions must be cleared upon editing

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: