简体   繁体   English

在Liferay文档库中授予权限

[英]Granting permissions in Liferay Document library

I have a simple requirement and I want some advice on implementing this the best way in liferay. 我有一个简单的要求,我想要在liferay中实现这个最好的方法。

I am using Liferay Document library. 我正在使用Liferay文档库。 My requirement is to group users into different departments. 我的要求是将用户分组到不同的部门。 (A, B and C). (A,B和C)。

  • userA --> dept A userA - > dept A.
  • userB --> dept B userB - > dept B
  • userC --> dept C userC - > dept C

  • The userA should have access to only directories belonging to A userA应该只能访问属于A的目录

  • userA can grant files access to 'userB' or all users in 'B' userA可以授予文件访问'userB'或'B'中的所有用户的权限

How should I group the users the best way so that I can grant these permissions. 我应该如何以最佳方式对用户进行分组,以便我可以授予这些权限。 Thanks ! 谢谢 !

To give some pointers: 给出一些指示:

You can create Organizations (departments) like Org A, Org B and Org C. 您可以创建组织 (部门),如组织A,组织B和组织C.

Then you can assign the Users accordingly to the Organizations. 然后,您可以相应地将用户分配给组织。

To restrict usage of certain directories or folders, you can create Organization-level-roles and assign them to your Users. 要限制某些目录或文件夹的使用,您可以创建组织级角色并将其分配给您的用户。

Now you can assign permissions to the created Organization-level-roles for different directories. 现在,您可以为不同目录的已创建的组织级角色分配权限。

Hope this helps. 希望这可以帮助。

If you don't need any of the groups to inherit permissions from other groups, you could also use "User Groups." 如果您不需要任何组来继承其他组的权限,您还可以使用“用户组”。 This is basically the same as organizations, except they're nonhierarchical and would use regular level permissions instead of Organization level roles. 这基本上与组织相同,除了它们是非层次的并且将使用常规级别权限而不是组织级别角色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM