Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0-rc1
-
None
Description
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, "");