[
http://jira.nuxeo.org/browse/NXP-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31363#action_31363
]
Florent Guillaume commented on NXP-365:
---------------------------------------
One feature I'd like added at the same time is permission name aliases.
This is to ease migration when at some point we will want to rename permissions
to clean things up.
Example syntax (please allow for several aliases):
- <permission name="Version" />
+ <permission name="ReadVersion">
+ <alias name="Version" /> <!-- BBB deprecated old name -->
+ </permission>
> Implement an extensible core permission service and related facade API
> ----------------------------------------------------------------------
>
> Key: NXP-365
> URL: http://jira.nuxeo.org/browse/NXP-365
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Improvement
> Components: Core, Security, Web Foundations
> Reporter: Olivier Grisel
> Assignee: Olivier Grisel
> Priority: Major
> Fix For: 5.2 M1
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> Current permission map is defined in an single permissions.xml file. We need
> a dedicated OSGi component to register and update permissions and groups of
> permissions at runtime. This permission service should be "queriable" from
> client code through a facade API in NXCoreFacade.
> Another extension point should specify the list of permissions that are
> assignable through the document_rights.xhtml tab. Currently this is hardcoded
> in the "settablePermissions" field of the SecurityActions listener. In the
> long term the list of permissions assignable by a given user to a given space
> should be computed by an extensible set of rules. The API of the permission
> service should be designed with that constrain in mind.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets