Change By: Roman Kovařík (24/Oct/13 12:54 PM)
Description: {{ConfiguredAccessDefinition}} has to always allow access to superuser.

{code}
for (Principal p : MgnlContext.getWebContext().getSubject().getPrincipals()) {
    if (p instanceof AdminPrincipal || p instanceof SystemPrincipal) {
        return true; // give this guy access no matter what
    }
}
{code}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]>
----------------------------------------------------------------

Reply via email to