PHPackages                             liquidlight/typo3-elevate-to-admin - 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. liquidlight/typo3-elevate-to-admin

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

liquidlight/typo3-elevate-to-admin
==================================

Allow users to elevate themselves to admin if they have permission to do so

2.2.0(7mo ago)013GPL-2.0+PHPPHP ^8.2CI passing

Since Sep 13Pushed 7mo agoCompare

[ Source](https://github.com/liquidlight/typo3-elevate-to-admin)[ Packagist](https://packagist.org/packages/liquidlight/typo3-elevate-to-admin)[ Docs](https://github.com/liquidlight/typo3-elevate-to-admin)[ RSS](/packages/liquidlight-typo3-elevate-to-admin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (7)Used By (0)

Elevate to Admin
================

[](#elevate-to-admin)

A TYPO3 extension that removes permanent admin access and lets users elevate to admin only when needed.

Admin users log in without admin privileges. Not only does this satisfy cyber security accreditations\*, it allows your admin users to use the website as Editors which means they can quickly see any permissions or UI Bugs, issues and errors

Features
--------

[](#features)

- Meets Cyber Essentials and ISO 27001 requirements\*
- See who is an admin and since when
- Resets privileges after 10 minutes of inactivity
- Clears admin privileges after logging out
- Allows admins to sill log in when backend is locked for editors

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

[](#installation)

1. `composer require liquidlight/typo3-elevate-to-admin`
2. Edit backend users and enable "Can elevate to admin" where appropriate (existing admins will have this enabled when they login )
3. Selected users can use the dropdown in the corner to elevate to admin

[![Screenshot of dropdown](./Documentation/Images/drop-down.png)](./Documentation/Images/drop-down.png)

The user can exit admin mode by using the same dropdown.

How It Works
------------

[](#how-it-works)

1. **Login as regular user** - Admin users log in without admin privileges
2. **Work normally** - Browse, edit content, and perform regular tasks
3. **Elevate when needed** - Click the dropdown to become admin for specific tasks
4. **Auto-logout** - Admin privileges automatically expire after 10 minutes of inactivity

Events
------

[](#events)

The extension dispatches PSR-14 events that allow you to customize the behaviour:

### BeforeAdminElevationProcessEvent

[](#beforeadminelevationprocessevent)

This event is dispatched before the admin elevation processing begins. You can use it to skip the elevation process entirely based on custom conditions.

#### Example: Make everyone admin in development mode

[](#example-make-everyone-admin-in-development-mode)

```
