You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/12/15 20:13:43 UTC

[jira] Assigned: (WICKET-1152) MetaDataRoleAuthorizationStrategy.unauthorize() doesn't work

     [ https://issues.apache.org/jira/browse/WICKET-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-1152:
-------------------------------------

    Assignee: Johan Compagner

> 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: Johan Compagner
>             Fix For: 1.3.0-rc3
>
>
> 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.