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

Version
2.0.1
Type
neos-package
Release Date
Nov 01, 2019 09:32
Source
git
Distribution
zip
Requires
  • ext-json: *
  • neos/neos: ^5.0
MIT b4e0607a3fca4cb464d25406bdf92b8825a9ea39

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