Hi Magnolians,
Could someone explain me how I can add a new "URL" permission to anonymous role?
This is something I would like to perform on my new module installation.
I have tried to force my chance with that:
MgnlRoleManager mgnlRoleManager = new MgnlRoleManager();
Role anonymous = mgnlRoleManager.getRole("anonymous");
anonymous.addPermission("URL","/testUrl/*",PermissionImpl.READ);
But no succes as expected because URL is not a repository !?
Any suggestion?
Thx a lot for your help
Stéphane Gauthier
************************************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager
([EMAIL PROTECTED]) and delete the message with any attached files from your
system.
The confidentiality and integrity of this message cannot be guaranteed on the
Internet and the sender does not accept liability for its content.
***********************************************************************************
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------