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.

2.0.4

Version
2.0.4
Type
neos-package
Release Date
Jul 20, 2023 13:10
Source
git
Distribution
zip
Requires
  • ext-json: *
  • neos/neos: ^5.0 || ^7.0 || ^8.0
MIT 7617ba5fb00fa4330ec354932bbdb35a545a0deb

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).