Hi Guys, I am looking for an example to restrict the user role “Editor”. The user should not create, edit or delete pages.
Who could give me an tip to restrict the user?
I tried the example in the documentation, but i become only an 403 error:
‘Neos\ContentRepository\Security\Authorization\Privilege\Node\ReadNodePropertyPrivilege’:
‘TC.client:ReadAllNodes’:
matcher: ‘isDescendantNodeOf(“723ab79a-4516-4685-8432-663d9ece5eb4”)’
‘Neos.Neos:Editor’:
privileges:
-
privilegeTarget: 'TC_client_Controller_AccreditationUserBackend’
permission: GRANT
privileges:
-
privilegeTarget: 'TC_client_AccreditationUser_RestrictedPage'
permission: GRANT
privileges:
-
privilegeTarget: 'TC.client:ReadAllNodes'
permission: GRANT
‘Neos.Neos:Administrator’:
privileges:
-
privilegeTarget: 'TC_client_AccreditationUser_RestrictedPage’
permission: GRANT
privileges:
-
privilegeTarget: 'TC.client:ReadAllNodes'
permission: GRANT
Who can help me?
Best greetings
Steffen