如何在露天场所管理访问权限

编程入门 行业动态 更新时间:2024-10-13 18:23:45
本文介绍了如何在露天场所管理访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好,在此先感谢您的帮助。

Hello Everyone thank's in advance for your help.

我正在尝试在露天环境中配置访问权限,现在陷入了局面 如果有人定义实现此功能的正确方法会很有帮助 现在我的问题是

I am trying to configure access permission in alfresco and now stuck in a scenario It would be great help if someone defines proper way to achieve this functionality now my problem is

我想创建一个网站(可以访问)由所有用户) 然后将在该站点中创建文件夹和子文件夹(如果需要,我准备自定义那些文件夹的内容类型) 现在我要在这样的位置配置alfresco特定用户组可以访问特定文件夹及其内容的方式,例如

I want to create a site (which will be accessible by all user) then will create folder and sub folder in that site (i am ready to customize content type of those folder if required) now i want to configure alfresco in such a way that specific set of user can access specific folder and it's content for example

This is list of user user1,user2,user3,user4,user5 And this is folder structure Project Data Test Exam Design art practice Work W1 W2

现在如何以 user1可以访问Data-> Exam user2可以访问工作及其所有子文件夹 user3可以访问Data及其所有子文件夹 user4可以访问Design及其所有子文件夹和 user5可以访问Data-> Work,Design-> art,Work-> W1文件夹

Now how to configure it in such a way that user1 can access Data->Exam user2 can access work and all it's child folder user3 can access Data and all it's child folder user4 can access Design and all it's child folder and user5 can access Data->Work, Design->art,Work->W1 folder

请注意,我正在使用CMIS api生成此文件夹结构所以有什么办法只能通过Java代码来实现吗?

Note that i am using CMIS api to generate this folder structure so is there any way to achieve this by java code only ?

我已经阅读了有关管理权限的信息,但不确定是否只是因为我尝试过使用它提供对文件夹的权限,它仅允许添加单个用户 ,但在我的情况下,我想创建用户组,并希望该颗粒组可以访问该文件夹。

i have read about managing permission but not sure about using it just because when i have tried to provide permission to folder it allow to add only single user but in my case i want to make group of user and want to make the folder accessible by that particulate group.

非常感谢您的时间:)

推荐答案

如果您想使用一个小组,您可以您将需要使用管理控制台或Alfresco API在Alfresco中创建组。 CMIS无法管理用户或组。

If you want to use a group, you'll need to create the group in Alfresco using either the admin console or the Alfresco API. CMIS cannot manage users or groups.

一旦用户和组就位,就可以使用CMIS将其分配给ACL。但是,挑战在于您可能需要禁用或破坏 ACL继承才能完全执行所需的操作。您不能使用CMIS API禁用ACL继承。您必须在UI中或通过Alfresco API进行操作。

Once your users and groups are in place, you can use CMIS to assign them to ACLs. However, the challenge is that you may need to disable or "break" ACL inheritance to do exactly what you want. You cannot disable ACL inheritance with the CMIS API. You'll have to do it in the UI or through the Alfresco API.

将用户和组放置在适当的位置,并将文件夹配置为继承或不继承父权限根据需要,您现在可以将用户和组添加到文件夹中。使用CMIS,您可以根据需要将任意数量的用户或组添加到给定文件夹。它不限于单个用户或组。 此页面提供了一些有关使用访问控制项(ACE)的示例)组成访问控制列表(ACL)。

With your users and groups in place and with your folders configured to inherit or not inherit parent permissions as needed, you can now add users and groups to your folders. With CMIS, you can add as many users or groups as you need to a given folder. It is not limited to a single user or group. This page has some examples on using Access Control Entries (ACEs) which make up Access Control Lists (ACLs).

更多推荐

如何在露天场所管理访问权限

本文发布于:2023-11-28 13:41:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642636.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:露天   访问权限   场所   如何在

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!