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

Tommaso Teofili commented on JCR-3320:
--------------------------------------

bq. the fact that in the default setup principals are associated with users 
present in the system is just one possibility.
I think I got "confused" because of that, however thanks for clarifying.
                
> User#isAdmin and UserManager#isAdmin only check user name to be equals to 
> admin
> -------------------------------------------------------------------------------
>
>                 Key: JCR-3320
>                 URL: https://issues.apache.org/jira/browse/JCR-3320
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Tommaso Teofili
>            Priority: Minor
>
> When trying to validate administrative privileges of a JCR Session for a user 
> belonging to an "administartors" group I realized the check is done only for 
> the user name/id.
> I think it'd be good to :
> a) ok solution : check for membership to "administrators" group
> b) better solution : use some smarter (rule based?) control

--
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

        

Reply via email to