设置权限以仅查看没有草稿的主要版本

Set permissions to see only major versions without drafts

我是sense net的新手。 在针对特定内容的设置权限 ui 的 sensenet 中,我们有多个与版本控制相关的条目:OpenOpen minor 我不明白它们之间的区别,因为它们是相同的手术。我希望有人能看到除草稿外的所有次要版本。

我尝试了 select 和 deselect 这两个选项,但我只能看到特定内容的主要版本或其中的 none。

如何应用上述场景以及它与这两种类型的权限有何关系?

Open权限表示允许用户打开内容的主要版本,并查看内容的字段数据

Open minor 权限表示是否允许用户打开内容的次要版本并查看相应的字段数据

由于草稿也是内容的次要版本,因此无法从次要版本中过滤掉草稿。

一般访问者只能查看内容的最新 public 版本。这由 Open minor 权限控制:不拥有内容的 open minor 权限的用户将只能看到内容的最后 public 版本,并且永远不会看到与草稿版本或尚未批准。

这里要记住的另一件重要事情是,如果文档被拒绝,并不意味着该文档对 public 不可见。这仅意味着 public 将看不到最后一个被拒绝的版本。例如:

1-Set approval on a document library to true.
2-Upload a document - it's state will be pending for approval (you can check it out on versions tab): only users with open minor permissions will be able to see it.
3-Send it to approval using the approval workflow. If the approver rejects it, it still not be visible for the public - or users that have no open minor permissions. If the approver approves it, it will be visible for the public.
4-Edit the document and make some modifications. It's state will be pending for approval once again. Users with no open minor permissions are able to see the document but not the latest modifications: that is they see the last public version, and not the one that is pending for approval.
5-Send the document for approval. If the approver rejects it: users without open minor permission will still not be able to view the modifications that have been rejected: only the last public version. If the approver approves the document: users without open minor permissions will finally be able to see the modifications as well, because at the moment of approval the last (yet pending) version became the last public version.

参考:http://wiki.sensenet.com/Versioning_and_approval