MetaDataRoleAuthorizationStrategy.unauthorize() doesn't work
------------------------------------------------------------
Key: WICKET-1152
URL: https://issues.apache.org/jira/browse/WICKET-1152
Project: Wicket
Issue Type: Bug
Components: wicket-auth-roles
Affects Versions: 1.3.0-rc1
Reporter: John Smith
Try this:
MetaDataRoleAuthorizationStrategy.unauthorize(this, RENDER, "USER");
The page will still be rendered for user with USER role.
The following will work fine to prevent rendering by anybody:
MetaDataRoleAuthorizationStrategy.authorize(this, RENDER, "");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.