Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18743

Prevent from having duplicated entries in ACLS table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8.0-HF38, 6.0-HF25, 7.10-HF02
    • Fix Version/s: 6.0-HF31, 7.10-HF10, 8.3
    • Component/s: Core
    • Tags:
    • Backlog priority:
      400
    • Sprint:
      nxBD 8.3.2, nxBD 8.3.3
    • Story Points:
      2

      Description

      Some users reported that their ACLS tabl contains duplicated entries after a while, which could produce too long ACLS and make the READ ACLS cache fail to be

      (Currently we don't have a reproduction case.)

      A check should be added in org.nuxeo.ecm.core.api.security.ACL#setACEs to emit a WARN when there are duplicate ACPs.

      There is now a WARN log when ACL.setACEs contains duplicate entries.

      WARN  [ACLImpl] Setting an ACL with at least one duplicate entry: ACE(...) , ACL entries: ...

      By setting the log4j level to TRACE there is a stack trace available.

        <logger name="org.nuxeo.ecm.core.api.security.impl">
          <level value="TRACE" />
        </logger>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d