[opencms-dev] CmsRoles

Michael Moossen m.moossen at alkacon.com
Fri Mar 24 16:52:03 CET 2006


Hi Claus!

extend the org.opencms.workplace.tools.accounts.CmsAccountsToolHandler
and change the admintoolhandler-class property of the
system/workplace/admin/accounts/webuser* resources.

Kind Regards,
Michael
 
-------------------
Michael Moossen
 
Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org




Zitat von Claus Priisholm <cpr at codedroids.com>:

> I was hoping to allow a specific user have access to edit web-users (and 
> not much more than that).
> 
> But looking at the source (6.0.3) it does seem that this requires 
> membership of the Administration group because this is the only group 
> related to the role needed to access the account module.
> 
> It seems what I should be able to do was to add the particular group to 
>   a given role - CmsRole.ACCOUNT_MANAGER in this case. But since a role 
> can be hooked directly to only one group (hardcoded to Administrator), 
> the intention of CmsRole may be a bit different than I expect.
> 
> So, unless I have overlooked something, it seems the "simplest" approach 
> is to hack the account module. Anyone found another approach?
> 
> Claus
> 
> -- 
> Claus Priisholm, CodeDroids ApS
> Phone: +45 48 22 46 46
> cpr (you know what) codedroids.com - http://www.codedroids.com
> cpr (you know what) interlet.dk - http://www.interlet.dk
> --
> Javadocs and other OpenCms stuff: 
> http://www.codedroids.com/community/opencms
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the opencms-dev mailing list