gpt4 book ai didi

liferay - 在Liferay上修改控制面板的权限

转载 作者:行者123 更新时间:2023-12-04 18:14:26 27 4
gpt4 key购买 nike

我想授予Liferay 6.0.5上某些用户组的权限,以便他们可以访问控制面板的某些部分,例如允许他们更改其电子邮件。我该怎么做?

最佳答案

默认情况下,通常会启用更改自己的电子邮件地址。请参阅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

对于其他控制面板内容:创建一个自定义角色,选择“定义权限”,然后在“控制面板”部分的选择框中,您将找到一个名为“访问控制面板”的权限。当然,您还需要允许访问的部件的其他权限(例如,请参见选择框内“内容”部分下的内容)

关于liferay - 在Liferay上修改控制面板的权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6497926/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com