This project is not covered by Drupal’s security advisory policy.
Permission names like Administer content types or Bypass content access control don't tell you which pages or content they open up. Permission Preview shows you, for your own site, before you tick the box.
Features
- Adds a What it unlocks link under every permission on the Permissions page, and on the per-role, per-module and per-content-type permission pages.
- Click it, pick a role, and see what that role would gain:
- Pages they can now open, with links.
- Items they can now work with: which content, users, blocks and so on they could create, view, edit or delete.
- Other addresses they can now reach, such as downloads and data feeds.
- Pages that need content first: pages that will open once the site has an item they need.
- For a role that already has the permission, shows what it gets from it today.
- Works with any module. It asks Drupal's own access system, so nothing is hard-coded.
- Nothing is saved. No users are created and no roles are changed.
Post-Installation
There are no settings.
- Go to People » Permissions (
/admin/people/permissions). - Click What it unlocks under a permission.
- Pick a role.
Only users with Administer permissions see the links and the report.
Additional Requirements
Drupal 10.3 or later. No other modules or libraries are needed.
Similar projects
Masquerade lets you browse the site as another user. Permission Preview instead shows, before any change, exactly what one permission adds for a role, without switching users or saving anything.
Project information
- Project categories: Access control, Administration tools, Security
- Created by stingo-36 on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


