PHPackages                             ithilgers/pagetree-permissions-highlight - 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. ithilgers/pagetree-permissions-highlight

ActiveTypo3-cms-extension[Authentication &amp; Authorization](/categories/authentication)

ithilgers/pagetree-permissions-highlight
========================================

Highlights pages in the backend page tree where the user has content editing permissions

v1.2.1(2mo ago)0251↓50%GPL-2.0-or-laterPHP

Since Jan 6Pushed 2mo agoCompare

[ Source](https://github.com/ithilgers/pagetree-permissions-highlight)[ Packagist](https://packagist.org/packages/ithilgers/pagetree-permissions-highlight)[ RSS](/packages/ithilgers-pagetree-permissions-highlight/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

TYPO3 Extension: PageTree Permissions Highlight
===============================================

[](#typo3-extension-pagetree-permissions-highlight)

[![TYPO3 12](https://camo.githubusercontent.com/ebabe0a8105378f3f366ee2235e4dcd50a97659b62c3f6c7e7436f832f12a852/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31322e342d6f72616e67652e737667)](https://get.typo3.org/version/12)[![License](https://camo.githubusercontent.com/26f8b6541ea045cc1dbc2267208158b5a7ebbf5cf437c4b486d80fee9386f77e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d2d322e302d2d6f722d2d6c617465722d626c75652e737667)](https://www.gnu.org/licenses/gpl-2.0.html)[![Packagist Version](https://camo.githubusercontent.com/bad31b3376dcff60007dd5a0c741678ae93e592c3148137944399598824f9bf3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f697468696c676572732f70616765747265652d7065726d697373696f6e732d686967686c69676874)](https://packagist.org/packages/ithilgers/pagetree-permissions-highlight)[![Packagist Downloads](https://camo.githubusercontent.com/f240e8182ff041139d182a1883e68a2aefcd64b4391d62b6fe66531fbce4f21e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f697468696c676572732f70616765747265652d7065726d697373696f6e732d686967686c69676874)](https://packagist.org/packages/ithilgers/pagetree-permissions-highlight)

Visual highlighting of pages in the TYPO3 backend page tree where the current user has content editing permissions.

Features
--------

[](#features)

- **Visual Feedback**: Highlights pages with a customizable background color where the user has content editing rights
- **Filter Toggle**: Dropdown menu item "Editable pages only" in the page tree to filter down to editable pages only, with bridge nodes keeping the tree structure intact
- **Localized**: Full English and German translations, respects TYPO3 backend language setting
- **Permission-Aware**: Only shows highlights based on actual user permissions
- **Admin-Optimized**: Skips highlighting for admin users (who have all permissions anyway)
- **Configurable**: Customize the highlight color through extension configuration
- **Lightweight**: Minimal performance impact using TYPO3's event system

Why This Extension?
-------------------

[](#why-this-extension)

In large TYPO3 installations with complex permission structures, editors often struggle to identify which pages they can actually edit. This extension provides instant visual feedback in the page tree, making it immediately clear where users have content editing permissions.

Installation
------------

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require ithilgers/pagetree-permissions-highlight
```

### Activation

[](#activation)

After installation, activate the extension in the Extension Manager or via CLI:

```
vendor/bin/typo3 extension:setup
```

Configuration
-------------

[](#configuration)

The extension can be configured in the Extension Configuration:

1. Go to **Admin Tools &gt; Settings &gt; Extension Configuration**
2. Select `pagetree_permissions_highlight`
3. Configure the following options:

OptionTypeDefaultDescription`highlightColor`string`rgba(0, 255, 0, 0.1)`Background color for pages where the user has content editing permissions. Accepts any valid CSS color value (hex, rgb, rgba, named colors).### Example Configuration

[](#example-configuration)

```
// config/system/settings.php
'EXTENSIONS' => [
    'pagetree_permissions_highlight' => [
        'highlightColor' => 'rgba(255, 215, 0, 0.15)', // Golden highlight
    ],
],
```

Usage
-----

[](#usage)

Once installed and activated, the extension works automatically:

1. Log in to the TYPO3 backend as a non-admin user
2. Open the page tree
3. Pages where you have content editing permissions are highlighted with the configured color
4. Admin users see no highlighting (as they have permissions everywhere)

Technical Details
-----------------

[](#technical-details)

### Requirements

[](#requirements)

- TYPO3 12.4 or higher
- PHP 8.1 or higher

### How It Works

[](#how-it-works)

The extension uses TYPO3's PSR-14 event system:

- Listens to `AfterPageTreeItemsPreparedEvent`
- Checks each page for `Permission::CONTENT_EDIT` rights
- Applies background color to permitted pages
- Skips processing for admin users

### Architecture

[](#architecture)

```
Classes/
└── EventListener/
    ├── BackendTemplateListener.php  # Loads JS module in backend
    └── PageTreeItemsListener.php    # Main event listener

Configuration/
├── JavaScriptModules.php            # ES6 module registration
└── Services.yaml                    # Service registration

Resources/
├── Private/
│   └── Language/
│       ├── locallang.xlf                # English labels
│       └── de.locallang.xlf             # German translation
└── Public/
    └── JavaScript/
        └── permissions-filter-toggle.js  # Filter toggle UI

ext_conf_template.txt               # Extension configuration template
ext_emconf.php                      # Extension metadata
composer.json                       # Composer metadata

```

Compatibility
-------------

[](#compatibility)

TYPO3 VersionExtension VersionSupport12.4 LTS1.2.x✅ Active12.4 LTS1.1.xSecurity fix12.4 LTS1.0.xInitial releaseContributing
------------

[](#contributing)

Contributions are welcome! Please:

1. Fork the repository
2. Create a feature branch
3. Commit your changes
4. Push to the branch
5. Create a Pull Request

License
-------

[](#license)

This extension is licensed under the [GNU General Public License v2.0 or later](https://www.gnu.org/licenses/gpl-2.0.html).

Support
-------

[](#support)

For bugs, feature requests, or questions:

- Open an issue on GitHub:

Credits
-------

[](#credits)

Developed by Theodor Hilgers.

---

**Keywords**: TYPO3, backend, page tree, permissions, visual feedback, editor experience

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance88

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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 ~22 days

Total

4

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/97b30d38419f629d584387084ffc6f79ab2b8859813fc9a5277b6f4d9ad97d2b?d=identicon)[ithilgers](/maintainers/ithilgers)

---

Tags

highlightpermissionsextensioneditorbackendtypo3pagetree

### Embed Badge

![Health badge](/badges/ithilgers-pagetree-permissions-highlight/health.svg)

```
[![Health](https://phpackages.com/badges/ithilgers-pagetree-permissions-highlight/health.svg)](https://phpackages.com/packages/ithilgers-pagetree-permissions-highlight)
```

###  Alternatives

[in2code/femanager

Modern TYPO3 Frontend User Registration.

49745.4k6](/packages/in2code-femanager)[b13/permission-sets

Allows for deployable and re-usable permission sets for backend users

2964.0k3](/packages/b13-permission-sets)[leuchtfeuer/locate

Locate - The users country, preferred language and other facts will be detected. Depending on configurable rules the user can be redirected to other languages or pages. Locate also provides geo blocking for configurable pages in configurable countries.

1182.8k](/packages/leuchtfeuer-locate)[netresearch/contexts

Multi-channel content visibility for TYPO3 - by Netresearch

1117.4k1](/packages/netresearch-contexts)[netresearch/t3-cowriter

With the help of AI you can now work on a page together with a cowriter - a digital assistant that helps you to write your content.

1010.8k](/packages/netresearch-t3-cowriter)[3m5/typo3-enhanced-backend

Improves the user experience (UI/UX), provides customization options for editors and enhances the look and feel of TYPO3 backend.

105.1k](/packages/3m5-typo3-enhanced-backend)

PHPackages © 2026

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