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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. punktde/noderestrictions

ActiveNeos-package[Authentication &amp; Authorization](/categories/authentication)

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 85% of packages

Maintenance29

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

1026d 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

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)

PHPackages © 2026

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