[
http://jira.magnolia-cms.com/browse/MAGNOLIA-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Haderka updated MAGNOLIA-1024:
----------------------------------
Assignee: (was: Sameer Charles)
Fix Version/s: 3.0 Final
Description:
I tried to use the MgnlContext.getUser.hasRole() method, however my custom role
is not found.
I checked if I made a mistake with the role names by calling
MgnlContext.getUser.getRoles(), but the additional role I added is there.
"Funny" thing: It finds the role superuser with hasrole(), but not my custom
role.
was:
I tried to use the MgnlContext.getUser.hasRole() method, however my custom role
is not found.
I checked if I made a mistake with the role names by calling
MgnlContext.getUser.getRoles(), but the additional role I added is there.
"Funny" thing: It finds the role superuser with hasrole(), but not my custom
role.
> hasRole Method of MgnlUser does not find a role
> -----------------------------------------------
>
> Key: MAGNOLIA-1024
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-1024
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Components: security
> Affects Versions: 3.0 RC2
> Environment: Windows, magnolia3RC2
> Reporter: Claudio Greuter
> Priority: Major
> Fix For: 3.0 Final
>
>
> I tried to use the MgnlContext.getUser.hasRole() method, however my custom
> role is not found.
> I checked if I made a mistake with the role names by calling
> MgnlContext.getUser.getRoles(), but the additional role I added is there.
> "Funny" thing: It finds the role superuser with hasrole(), but not my custom
> role.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------