You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2012/05/22 22:23:42 UTC

[jira] [Resolved] (JCR-3320) User#isAdmin and UserManager#isAdmin only check user name to be equals to admin

     [ https://issues.apache.org/jira/browse/JCR-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-3320.
-------------------------

    Resolution: Invalid
    
> 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