You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Justin Edelson (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/14 00:48:59 UTC

[jira] [Issue Comment Edited] (JCR-2446) Allow for the registration of custom privileges.

    [ https://issues.apache.org/jira/browse/JCR-2446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207356#comment-13207356 ] 

Justin Edelson edited comment on JCR-2446 at 2/13/12 11:47 PM:
---------------------------------------------------------------

Note - Custom Privileges were actually implemented as part of JCR-2887. 
                
      was (Author: justinedelson):
    Note - Custom Privileges was actually implemented as part of JCR-2887. 
                  
> Allow for the registration of custom privileges.
> ------------------------------------------------
>
>                 Key: JCR-2446
>                 URL: https://issues.apache.org/jira/browse/JCR-2446
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core, security
>    Affects Versions: 1.6
>            Reporter: Mat Lowery
>
> 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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira