Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikaelnet/sitecore-access-rights
Improves access rights management in Sitecore
https://github.com/mikaelnet/sitecore-access-rights
Last synced: about 1 month ago
JSON representation
Improves access rights management in Sitecore
- Host: GitHub
- URL: https://github.com/mikaelnet/sitecore-access-rights
- Owner: mikaelnet
- Created: 2017-08-10T08:07:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T14:47:30.000Z (over 7 years ago)
- Last Synced: 2024-01-24T03:40:02.152Z (11 months ago)
- Language: C#
- Size: 96.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-Sitecore - Sitecore Delete Access Rights - Enables the "item:removeVersion" access right, allowing authors to remove individual item versions without allowing authors to delete the entire item. It also allows the initial creator of an item to delete his/her own item, unless an explicit deny delete access right is applied to the item. (Security)
README
# Sitecore Delete Access Rights
This package enables the "item:removeVersion" access right,
allowing authors to remove individual item versions without
allowing authors to delete the entire item. It also allows
the initial creator of an item to delete his/her own item,
unless an explicit deny delete access right is applied to
the item.[More details in this blog post](https://mikael.com/2017/08/improved-sitecore-delete-item-access-rights/)
## Build and install
Update the nuget package sitecore references if the version
doesn't match your Sitecore version. Compile the solution
and copy the output dll and the config file to target
instance.The config file updates the two default authorization providers,
SqlServerAuthorizationProvider and BucketAuthorizationProvider.
If you've made customization to these providers, this module
needs to be updated accordingly.## Usage
The module enables the "Remove version" permission in the
Security Rights dialog. When you need to allow users to delete
item versions, but not the entire item, assign the Remove
version permission accordingly:![remove version access option](img/remove-version-access-option.png)
The module also enables authors to delete items created by
them selves, unless there are other explicit delete permissions.
Note that the "CreatedBy" field is a versioned field, so the
access right is evaluated based on the very first item version,
regardless of language.![access viewer](img/access-viewer.png)