[opencms-dev] CmsRoles
Claus Priisholm
cpr at codedroids.com
Fri Mar 24 17:35:39 CET 2006
Hi
Yup, it is nice and easy to extend the functionality. Still in the
hacking category though, but if it works why quibble. But won't I get
into trouble later on when say adding a user - it seems the security
manager will make sure that the ACCOUNT_MANAGER role is in place before
letting me add a user or do similar operations?
Thanks
Claus
Michael Moossen wrote:
> 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.
>
>
> _______________________________________________
> 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
>
--
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
More information about the opencms-dev
mailing list