Set the rights of a custom action
You can set the rights on a custom action with the property "Rights". You can see an example below.
<CustomAction
<CustomAction
UrlAction Url="~site/_Layouts/CreatePage.aspx"/></
CustomAction>
This property is needed if you want to set minimal rights to execute your custom action.
A nice list of the available rights for custom actions:
List/document permsViewListItems
AddListItems
EditListItems
DeleteListItems
ApproveItems
List/document perms
ViewListItems
AddListItems
EditListItems
DeleteListItems
ApproveItems
OpenItems
ViewVersions
DeleteVersions
CancelCheckout
ManagePersonalViews
ManageLists
ViewFormPages
Web level perms
Open
ViewPages
AddAndCustomizePages
ApplyThemeAndBorder
ApplyStyleSheets
ViewUsageData
CreateSSCSite
ManageSubwebs
CreateGroups
ManagePermissions
BrowseDirectories
BrowseUserInfo
AddDelPrivateWebParts
UpdatePersonalWebParts
ManageWeb
UseRemoteAPIs
ManageAlerts
CreateAlerts
EditMyUserInfo
Special perms
EnumeratePermissions
Geen opmerkingen:
Een reactie posten