Foren

User permissions in My Account

Robert Meissner, geändert vor 8 Jahren.

User permissions in My Account

Junior Member Beiträge: 76 Beitrittsdatum: 26.02.15 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: User permissions in My Account

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
If it's a global setting, try the settings for users.form.my.account.* in portal-ext.properties
Robert Meissner, geändert vor 8 Jahren.

RE: User permissions in My Account

Junior Member Beiträge: 76 Beitrittsdatum: 26.02.15 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: User permissions in My Account

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: User permissions in My Account

Junior Member Beiträge: 76 Beitrittsdatum: 26.02.15 Neueste Beiträge
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.