Foros de discusión

User permissions in My Account

Robert Meissner, modificado hace 8 años.

User permissions in My Account

Junior Member Mensajes: 76 Fecha de incorporación: 26/02/15 Mensajes recientes
Hello,

sorry, i guess this is basic stuff, but I really cannot find an easy way how to get this done:
What is the best way to change a User's permissions in "My Account" and disable UserMenu items?
I don't want all the

User Information
Details
Password
Organizations
Sites
User Groups
Roles
Categorization
Identification
...

to be displayed at all, but only Password reset should be possible. What is the best practice? Thanks in advance.

Best regards,
Rome
thumbnail
Olaf Kock, modificado hace 8 años.

RE: User permissions in My Account

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
If it's a global setting, try the settings for users.form.my.account.* in portal-ext.properties
Robert Meissner, modificado hace 8 años.

RE: User permissions in My Account

Junior Member Mensajes: 76 Fecha de incorporación: 26/02/15 Mensajes recientes
Thanks Olaf, for this very cool link! I guess I would have never found it by my own. emoticon

It is a per role setting, so I would guess, using a hook is the right way in this case, but i am not sure as it regards the Dialog
useDialog="<%= PropsValues.DOCKBAR_ADMINISTRATIVE_LINKS_SHOW_IN_POP_UP %>"
thumbnail
Olaf Kock, modificado hace 8 años.

RE: User permissions in My Account

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
Sorry, I'm clueless as to where that line comes from or what it has to do with the original question... please enlighten me
Robert Meissner, modificado hace 7 años.

RE: User permissions in My Account

Junior Member Mensajes: 76 Fecha de incorporación: 26/02/15 Mensajes recientes
Sorry, for bringing this up again. The line is coming from

liferay-portal-src-6.2-ce-ga6\portal-web\docroot\html\portlet\dockbar\view_user_account.jspf

I cannot recall exactly, but i think, it would not work as intended if i used portal-ext.properties file for configuring this, because i don't want it to be the same in every time but on a role-basis.