• SharePoint 2010 中的用户访问控制(4)


    第三节中,讲到了列表项的访问控制,指出了SharePoint 2010 默认提供的设置项及其不足。现将其整理如下:

    一、未开启“内容审核(Content Approval)”时

    应用 SharePoint 2010 设置
    仅作者自己可见 Item-Level Permissions—> Read Access: Read items when created by the user
    Create & Edit Access: Create items and edit items that were created by the user
    仅作者和有审核权限的用户可见 无法实现
    所有人都可见 Item-Level Permissions—> Read Access: Read all items
    Create & Edit Access: Create items and edit items that were created by the user

    二、开启“内容审核(Content Approval)”时

    应用 SharePoint 2010 设置
    仅作者自己可见 没必要(否则自己发布自己审核,没意思)
    仅作者和有审核权限的用户可见(审核通过前) Item-Level Permissions—> Read Access: Read all items
    Create & Edit Access: Create items and edit items that were created by the user
    Draft Item Security: Only users who can approve items (and the author of the item)
    所有人都可见(审核通过后) Item-Level Permissions—> Read Access: Read all items
    Create & Edit Access: Create items and edit items that were created by the user

    三、缺失的应用环节

    上面的表格仍然漏掉了一个应用环节:仅作者和有审核权限的用户可见(审核通过后)

    要做内容审核,就必须开启 Read all items;而“仅作者和有审核权限的用户可见”只对处于草稿状态的列不项有效,一旦审核通过,则默认的SharePoint  2010 审核工作流就会将列表项的状态设为“审核通过”,那么所有人就都可以看到了。

    解决方案是(可选):

    1、断开审核工作流与列表项审核状态的关联,使得即使工作流审核通过,列表项仍然处于Pending的状态;

    2、对敏感的列表项(不能对所有人可见)单独建立一个列表,仅加入授权用户;

    3、开发代码,对流程审核通过的列表项,自动处理其可见用户范围,或者,将其拷贝到特定用户才能访问的存档列表中。

  • 相关阅读:
    002 课程导学
    006 实例1-温度转换
    003 Python基本语法元素
    PHP读取文件头(2字节)判断文件类型(转)
    常见的浏览器Hack技巧总结(转)
    晨曦之光 linux Crontab 使用(转)
    实用技巧:简单而有用的nohup命令介绍(转)
    shell之“>/dev/null 2>&1” 详解(转)
    phpmailer邮件类下载(转)
    PHP拦截器的使用(转)
  • 原文地址:https://www.cnblogs.com/jonyzhu/p/2116241.html
Copyright © 2020-2023  润新知