掲示板

User permissions in My Account

8年前 に Robert Meissner によって更新されました。

User permissions in My Account

Junior Member 投稿: 76 参加年月日: 15/02/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
8年前 に Olaf Kock によって更新されました。

RE: User permissions in My Account

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
If it's a global setting, try the settings for users.form.my.account.* in portal-ext.properties
8年前 に Robert Meissner によって更新されました。

RE: User permissions in My Account

Junior Member 投稿: 76 参加年月日: 15/02/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
8年前 に Olaf Kock によって更新されました。

RE: User permissions in My Account

Liferay Legend 投稿: 6403 参加年月日: 08/09/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
7年前 に Robert Meissner によって更新されました。

RE: User permissions in My Account

Junior Member 投稿: 76 参加年月日: 15/02/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.