具有可编辑内容的只读文档集 - 这可能吗? [英] Read-only Document Set with Editable Content - is this possible?
问题描述
我正在努力探索如何做某事,加上这个事实的复杂性,我实际上并不知道这实际上是可能的。
I'm struggling to get my head around how to do something, with the added complication of that fact I don't actually know that is actually possible.
I我正在设置一个文档库来包含项目信息。每个项目都由图书馆根目录中的自定义文档集表示,项目文件将作为不同的内容类型存储在每个项目文档集中。
I am setting up a Document Library to contain Project information. Each Project is represented by a custom Document Set in the root of the Library with Project Files to be stored as different content types within each Project Document Set.
基本上我想实现以下目标对于访问文档库的用户/组。
Essentially I would like to achieve the following for a user/group accessing the Document Library.
1。文档库的根目录是只读的 - 这样用户无法创建新项目(我有CSOM代码),他们无法编辑项目中的元数据也不能删除它。基本上他们看到现有项目的只读列表。
1. The Root of the Document Library is Read-only - this way the user can not create new projects (I have CSOM code for this) , they can not edit the meta-data on the project nor delete it. Essentially they see a read-only list of existing Projects.
2。但是当他们钻进一个单独的项目时,他们应该能够按照自己的意愿将文档贡献给项目(所以添加/编辑/删除等)。
2. However when they drill into an individual Project they should be able to Contribute documents to the Project as they wish (so add/edit/delete etc.)
我有一些CSOM代码创建了文档集,但无论我尝试什么,我似乎无法通过破解代码中的权限或调整Sharepoint中的权限(在线顺便说一句)同时实现1和2。
I have some CSOM code which creates the Document Set but whatever I try I can't seem to achieve both 1 and 2 at the same time either through breaking permissions in the code or adjusting permissions in Sharepoint (Online btw).
As我说 - 我甚至不知道这是否可能?任何有用的帮助,建议或替代建议。
As I say - I don't even know if this is possible? Any help, advice or alternative suggestions much appreicated.
推荐答案
您可以直接编辑库和文档集的权限以实现您的目的:
1。转到图书馆设置>该文档库的权限>选择"停止继承权限"。
2。选中要分配只读权限的组旁边的框,单击"编辑用户权限",选择"阅读"或"仅查看"。
3。在您的文档集中,单击"权限"和"权限"。在"管理"部分下,然后执行与上述类似的步骤,唯一的区别是在编辑用户权限时选择Contribute。
祝你好运,
Allen Allen
这篇关于具有可编辑内容的只读文档集 - 这可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!