Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.6
-
None
-
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
- relates to
-
JCR-2887 Split PrivilegeRegistry in a per-session manager instance and a repository level registry
- Closed