jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3320) User#isAdmin and UserManager#isAdmin only check user name to be equals to admin
Date Tue, 22 May 2012 20:33:41 GMT

    [ 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

        

Mime
View raw message