punktde/noderestrictions

Last activity 26 Sep 2024 3 2 3484
composer require punktde/noderestrictions

The packages enables the editor to restrict the access of a node and its subnodes to a defined role using the backend inspector.

dev-task/neos-70-compatibility

Version
dev-task/neos-70-compatibility
Type
neos-package
Release Date
Apr 16, 2021 07:04
Source
git
Distribution
zip
Requires
  • ext-json: *
  • neos/neos: ^5.0 || ^7.0
MIT 533193ca709162226129b69c7e7923bac84812a2

Readme excerpt

PunktDe NodeRestrictions

What does it do

The packages enables the editor to restrict the access of a node and its subnodes to a defined role using the backend inspector.

Configuration Define Roles and Privileges

Add roles and privilege targets to your projects Policy.yaml using the ReadNodePrivilege. In this example, we use the package Flowpack.Neos.FrontendLogin for authentication, so the role inherits from Flowpack.Neos.FrontendLogin:User.

privilegeTargets: 'PunktDe\NodeRestrictions\Security\Authorization\Privilege\Node\ReadNodePrivilege': 'Vendor.Customer:RestrictNodeToRole1': matcher: 'nodePropertyIs("accessRestriction", "Vendor.Customer:Role1") || …
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 33 package(s).