[英]Liferay Asset publisher: Add permission to specific users
I have different Asset Publishers on different pages, for example: Assetpublisher1, Assetpublisher2, Assetpublisher3.. Now the User publisher1 should be able to create articles on Assetpublisher1 but not on Assetpublisher2 and Assetpublisher3. 我在不同的页面上有不同的资产发布者,例如:Assetpublisher1,Assetpublisher2,Assetpublisher3。。现在,User Publisher1应该能够在Assetpublisher1上创建文章,但不能在Assetpublisher2和Assetpublisher3上创建文章。 The User publisher2 should be able to create articles on Assetpublisher2 but not on Assetpublisher1 and Assetpublisher3..
用户Publisher2应该能够在Assetpublisher2上创建文章,但不能在Assetpublisher1和Assetpublisher3上创建文章。
How can i set the permissions to do that? 我该如何设置权限呢?
Liferay version: 6.2.3 Liferay版本:6.2.3
Thanks in advance! 提前致谢!
Regards, Alex 问候,亚历克斯
You can't add permission for a specific user. 您不能为特定用户添加权限。 You have to use role (roleAssetPublisher1, roleAssetPublihser2, etc) instead and assign user to role.
您必须改为使用角色(roleAssetPublisher1,roleAssetPublihser2等),然后将用户分配给角色。
EDIT: When you got role you have to add permissions on AssetPublisher on it (control panel > role) and in your case on each page assign the permission "configure portlet" to the role you want. 编辑:获得角色后,您必须在AssetPublisher上添加权限(控制面板>角色),并在每种情况下,在每个页面上将权限“配置portlet”分配给所需的角色。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.