留言板

User permissions in My Account

Robert Meissner,修改在8 年前。

User permissions in My Account

Junior Member 帖子: 76 加入日期: 15-2-26 最近的帖子
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,修改在8 年前。

RE: User permissions in My Account

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
If it's a global setting, try the settings for users.form.my.account.* in portal-ext.properties
Robert Meissner,修改在8 年前。

RE: User permissions in My Account

Junior Member 帖子: 76 加入日期: 15-2-26 最近的帖子
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,修改在8 年前。

RE: User permissions in My Account

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
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,修改在7 年前。

RE: User permissions in My Account

Junior Member 帖子: 76 加入日期: 15-2-26 最近的帖子
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.