[
https://jira.nuxeo.org/browse/NXP-4689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=69157#action_69157
]
Bogdan Stefanescu commented on NXP-4689:
----------------------------------------
There are 2 ways to use isAdministrator guard:
@WebObject(name="foo", administrator=Access.TRUE) -> this will make the object
accessible only by administrators
This can be used in conjunction with other guards like:
@WebObject(name="foo", administrator=Access.TRUE, guard="facet=Folderish")
2.
@WebObject(name="foo", guard="isAdministrator=true")
This can be used in conjunction with other guards like:
@WebObject(name="foo", guard="isAdministrator=true AND facet=Folderish")
The "string" guard is useful when using @Guard annotation (which has no
administrator flag)
Also
@WebObject(name="foo", guard="isAdministrator=false")
will deny administrators to access the object
Same for
@WebObject(name="foo", administrator=false)
> Add an isAdministrator guard for web engine objects
> ---------------------------------------------------
>
> Key: NXP-4689
> URL: https://jira.nuxeo.org/browse/NXP-4689
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Affects Versions: 5.3 GA
> Reporter: Bogdan Stefanescu
> Assignee: Bogdan Stefanescu
> Priority: Major
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://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