5
我想授予Liferay 6.0.5上某些用戶組的權限,以便他們可以訪問控制面板的某些部分,例如允許他們更改他們的電子郵件。我將如何做到這一點?在Liferay上修改控制面板的權限
我想授予Liferay 6.0.5上某些用戶組的權限,以便他們可以訪問控制面板的某些部分,例如允許他們更改他們的電子郵件。我將如何做到這一點?在Liferay上修改控制面板的權限
默認情況下,更改自己的電子郵件地址通常處於啓用狀態。見portal.properties這個條目(或您的portal-ext.properties覆蓋)
#
# Input a list of comma delimited user types who can edit their own fields.
# Valid types are "administrator", "user-with-mx", and "user-without-mx".
#
# Set a value of "administrator" if an administrator can edit the specified
# field. An administrator is anyone who has the Administrator role.
#
# Set a value of "user-with-mx" if a user who has an email address that
# matches the company mail suffix can edit the specified field.
#
# Set a value of "user-without-mx" if a user who does not have an email
# address that matches the company mail suffix can edit the specified field.
#
# Set all three values if all users can edit the specified field. Set a
# combination of the three values if only a combination of the users can
# edit the specified field.
#
field.editable.com.liferay.portal.model.User.screenName=administrator,user-with-mx,user-without-mx
field.editable.com.liferay.portal.model.User.emailAddress=administrator,user-with-mx,user-without-mx
對於其他的控制面板內容:創建自定義的角色,選擇「定義權限」,並在部分選擇框「 ControlPanel「,你會發現一個名爲」在ControlPanel中訪問「的權限。當然,您還需要爲允許訪問的部分提供額外的權限(例如,請參閱選擇框中的內容部分)
由於某種原因,我遇到了麻煩,所以我只是去編輯jsp本身。不過謝謝。 –
尼斯解釋奧拉夫。 – suyash