Cannot restrict admin access by role

Created on 22 October 2019, about 5 years ago
Updated 24 December 2024, 27 days ago

Because admin roles have all permissions, the current way to restrict access based on role does not apply to them.

Steps to reproduce

  1. Set up a role where is_admin is true
  2. Enable Restrict IP module and "Allow restrict IP to be bypassed by role"
  3. View the permissions for that role - you cannot disable that permission for the role
✨ Feature request
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom malcomio

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024