Is the exception message "Access Denied: Only administrators are allowed to
modify other users."? If so your problem is in the UserSecurityAdvice class
which is hard coded to only allow the administrator to change other users.

If you are going to change role names you may want to look at upgrading to
m5 or rc1 and using appfuse:full-source to give you full control over the
application.

Mike.

On 7/30/07, Djohannot <[EMAIL PROTECTED]> wrote:
>
>
> hello,
>
> I've add and change the appfuse roles name. I've made the change in
> menu-config.xml (this part is ok, i see only the authorized pages), in the
> sample-data.xml and in security.xml.
>
> The problem is that when i try to add a new user, i've the
> AccessDeniedException of ACEGI thrown.
>
> In the security.xml file, i've change the "objectDefinitionSource
> property"
> of the "filterInvocationInterceptor bean" to add my page and to change the
> older role name.
> example:
> /activeUsers.*=app_admin,sys_admin
> /*stream*.jsp*=app_admin,sys_admin
> etc.
>
> this part is ok. The problem comes, for me, from the
> "objectDefinitionSource
> property" of the  "methodSecurityInterceptor bean". I've try to change the
> :
> org.appfuse.service.UserManager.getUsers=admin
>
> in
>
> org.appfuse.service.UserManager.getUsers=app_admin
>
> but i always have the same exception. Do you know why?
>
> Thanks for your help,or idea,
>
> David Johannot
>
> P.S. I work on the appfuse 2.0-m3 release.
> --
> View this message in context:
> http://www.nabble.com/Change-admin-role-name%3A-throw-AccessDeniedException-tf4169698s2369.html#a11862472
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to