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

Limit the unique index "authorizableId" to the "rep:Authorizable" nodetype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.13, 1.4
    • security
    • None

    Description

      Currently, the built-in Oak index "authorizableId" ensures that property values for the property "rep:authorizableId" are unique within the repository. However, there is no nodetype restriction for this index.

      In theory, an application could use the "rep:authorizableId" property, or the property could be used by versioning, an audit-log mechanism, things like that.

      I think the index should be limited to the "rep:Authorizable" nodetype, same as this is done in the "principalName" index.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: