[
https://issues.apache.org/jira/browse/WICKET-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maurice Marrink updated WICKET-1152:
------------------------------------
Attachment: wicket-1152.patch
This is the patch i applied to the 1.3 branch, so that we may later apply it to
trunk also.
> 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: David
> Assignee: Maurice Marrink
> Attachments: wicket-1152.patch
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> 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.