This project is read-only.

Project Description
Use MOSS EventReceiver to control List item permission

Usage

 

  1. Start->All programs->Microsoft SharePoint 2010 Products-〉SharePoint 2010 Management Shell
  2. Run: Add-SPSolution -LiteralPath <your folder>\CFCEventReceiver.wsp
  3. Run: Install-SPSolution –Identity CFCEventReceiver.wsp
  4. Create a new customer list named "UACConfig"
  5. Add two  single text type columns, named "ListName" ,"GroupName"
  6. restrict this list permission,set only administrator can access it
  7. Configure the UACConfig list:
    1. ListName is the list name which need control list item permission.
    2. GroupName is group name which have permission access list item, mulity names split by comma symbol ( , )
  8. Create a new customer list named "UACListConfig"
  9. Add three single text type columns named "ListName", "UserField", "RoleType"
  10. restrict this list permission,set only administrator can access it
  11. Configure the UACListConfig list
    1. ListName is the list name which need  control list item permission.
    2. UserField is the column name which get user or group to set permission
    3. RoleType is which role type you want to give the user to the list item. the value must be one of follows:
      1. Guest
      2. Reader
      3. Contributor
      4. WebDesigner
      5. Administrator


Note
only support custome list and calendar list, other type you can added by modify Elements.xml

 

Last edited May 7, 2011 at 10:07 AM by maskx, version 9