Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We faced an issue in Umbraco CMS 8 backoffice configuring permissions.
My question is:
- If there are many items (let's say 10 000 and more) and unique permissions will be granted on each of that item - will there by any performance degradation (compared to inherited permissions from parent element)?
More details about the context:
I have a parent element "Servers". I want Backoffice users to be able to create, update, delete items under "Servers". However I must ensure that users will not be able to delete parent element "Servers". Also they should not even see the button "Delete" on parent element.
By default if I grant delete permissions for child elements, it also grants delete permissions on parent element "Servers". Which allows accidentally delete parent element which all child elements.
Unique permissions on child elements would eliminate "Delete" button from parent element. Unique permissions would be granted on child element creation with custom event.
In the back-office, most items are fetched from database so it will cause too many database calls resulting in slowing down of the system.
Alternatively, you can trap Delete Event on Parent Document Type. So, when user with no access press delete then you show them a notification.
I am not sure if on Menu Rendering Event, you can delete the existing action based on access. We can add a new action in Menu but not sure on removing existing action.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted