This content has been marked as final.
Show 3 replies
-
1. Re: Change Password in Profile only in Admin Role
theute Jan 25, 2007 6:51 AM (in response to djmacpac)Modify the User Portlet.
You can always use isUserInRole("Admin") on the render phase and action phase if you don't need something too dynamic -
2. Re: Change Password in Profile only in Admin Role
djmacpac Jan 26, 2007 5:35 AM (in response to djmacpac)OK THX.
So I have to change the UserPortlet.java or? But then the Option to change the password will still be shown in the portlet...because it is implemented in the jsp. and when I delete it from the jsp, even the admin is not able to see it. Or did I understand sth wrong? -
3. Re: Change Password in Profile only in Admin Role
djmacpac Jan 26, 2007 6:30 AM (in response to djmacpac)OK I did it...
the "Change Password Form" will be still shown but only admins can change it ;-)