Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2446

Allow for the registration of custom privileges.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: jackrabbit-core, security
    • Labels:
      None

      Description

      I would like for Jackrabbit to be able to write and read a custom privilege. In this case, the privilege I want to add represents the right to execute a file. While this privilege means nothing to Jackrabbit, I can use it in the "execution engine" of my app to allow or deny the execution.

      Here are some related issues:

      • PrivilegeRegistry is accessed statically in some parts of the code. This might need to change if PrivilegeRegistry is pluggable.
      • PrivilegeRegistry.ALL is the result of ORing all known bits. Why not make this -1 (all bits enabled) to future-proof this constant?

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lowerymb77 Mat Lowery

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment