PHPackages                             punktde/noderestrictions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. punktde/noderestrictions

ActiveNeos-package

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(2y ago)33.6k3[1 PRs](https://github.com/punktDe/noderestrictions/pulls)MITPHP

Since Aug 14Pushed 1y ago5 watchersCompare

[ Source](https://github.com/punktDe/noderestrictions)[ Packagist](https://packagist.org/packages/punktde/noderestrictions)[ RSS](/packages/punktde-noderestrictions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (1)Versions (17)Used By (0)

PunktDe NodeRestrictions
========================

[](#punktde-noderestrictions)

[![Latest Stable Version](https://camo.githubusercontent.com/1a28d12873539447662f7c6f1e1cb906a289a62c5ef7c9f39decf2a18df4fa21/68747470733a2f2f706f7365722e707567782e6f72672f70756e6b7444652f6e6f64657265737472696374696f6e732f762f737461626c65)](https://packagist.org/packages/punktDe/noderestrictions) [![Total Downloads](https://camo.githubusercontent.com/be02b6862354d6c7822f50a4513f96501bd286cbb746be3dcfe2df0e9652fbce/68747470733a2f2f706f7365722e707567782e6f72672f70756e6b7444652f6e6f64657265737472696374696f6e732f646f776e6c6f616473)](https://packagist.org/packages/punktDe/noderestrictions) [![License](https://camo.githubusercontent.com/62b49fbeb1334c6422b7421c3190ea7a57539f9138b6432bf1c243b3df98f210/68747470733a2f2f706f7365722e707567782e6f72672f70756e6b7444652f6e6f64657265737472696374696f6e732f6c6963656e7365)](https://packagist.org/packages/punktDe/noderestrictions)

What does it do
---------------

[](#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
-------------

[](#configuration)

### Define Roles and Privileges

[](#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](https://github.com/Flowpack/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") || parentNodePropertyIs("accessRestriction", "Vendor.Customer:Role1")'

roles:
  'Vendor.Customer:Role1':
    parentRoles: ['Flowpack.Neos.FrontendLogin:User']
    privileges:
      -
        privilegeTarget: 'Vendor.Customer:RestrictNodeToRole1'
        permission: GRANT

  'Neos.Neos:AbstractEditor':
    privileges:
      -
        privilegeTarget: 'Vendor.Customer:RestrictNodeToRole1'
        permission: GRANT

```

### Exclude Roles from Selection

[](#exclude-roles-from-selection)

Some system roles, especially the backend roles shouldn't be displayed in the backend selector. You can exclude them using the setting. Globbing is supported.:

```
PunktDe:
  NodeRestrictions:
    excludeRolesFromPackages:
      - Neos.Neos
      - Flowpack.*
    excludeSpecificRoles:
      - Neos.Neos:Editor

```

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~240 days

Recently: every ~339 days

Total

10

Last Release

1024d ago

Major Versions

1.2.1 → 2.0.02019-11-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fad3b9ab04057e586b701aca7a8dbbf9598718114cdfd6bf85dada030f7688e?d=identicon)[punktde](/maintainers/punktde)

---

Top Contributors

[![daniellienert](https://avatars.githubusercontent.com/u/642226?v=4)](https://github.com/daniellienert "daniellienert (10 commits)")[![theDex](https://avatars.githubusercontent.com/u/3844381?v=4)](https://github.com/theDex "theDex (8 commits)")[![andrehoffmann30](https://avatars.githubusercontent.com/u/23524251?v=4)](https://github.com/andrehoffmann30 "andrehoffmann30 (2 commits)")

---

Tags

neoscms

### Embed Badge

![Health badge](/badges/punktde-noderestrictions/health.svg)

```
[![Health](https://phpackages.com/badges/punktde-noderestrictions/health.svg)](https://phpackages.com/packages/punktde-noderestrictions)
```

###  Alternatives

[neos/neos-ui

Neos CMS UI written in React

2661.0M104](/packages/neos-neos-ui)[neos/form-builder

Flow Form Framework integration into Neos CMS

19347.1k18](/packages/neos-form-builder)[neos/demo

Site package for the Neos Demo Site

18181.0k6](/packages/neos-demo)[flowpack/media-ui

This module allows managing media assets including pictures, videos, audio and documents.

2184.5k2](/packages/flowpack-media-ui)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2540.7k](/packages/kaufmanndigital-gdpr-cookieconsent)[flowpack/neos-matomo

Track visits of your Neos site with the Matomo Open Analytics Platform!

2337.6k](/packages/flowpack-neos-matomo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
