[Meta] Plan for deprecating and eventually removing the super user access policy

Created on 5 April 2024, 9 months ago

Problem/Motivation

Now that the special powers tied to user 1 are neatly contained in an access policy, we can switch it off. This is what was made possible in πŸ“Œ Add a container parameter that can remove the special behavior of UID#1 Fixed .

However, that issue only made sure that core tests run without the super user policy, proving that they have the correct permissions assigned in their setup. The updates to core tests are being tackled here: πŸ“Œ [Meta] Fix all tests that rely on UID1's super user behavior Active

For contrib, we need to come up with a plan on how to trigger a deprecation warning when a tests runs without setting $usesSuperUserAccessPolicy to FALSE. That is being discussed here: πŸ“Œ Decide on when/how we will run contrib/custom tests without the super user access policy Active

The end goal is to completely remove the super user access policy from core as it's a possible attack vector.

Finally, we need to devise a way to recover your website if you removed your own admin role by accident, because you'll no longer be able to rely on user 1 having permanent admin powers. This is being discussed here: πŸ“Œ Introduce recovery tool or documentation for when someone is locked out of their own site Active

Steps to reproduce

N/A

Proposed resolution

Resolve all linked issues in their issue, keep this issue as a parent for meta discussion.

Remaining tasks

Resolve all linked issues

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

🌱 Plan
Status

Active

Version

11.0 πŸ”₯

Component
User systemΒ  β†’

Last updated 4 days ago

Created by

πŸ‡§πŸ‡ͺBelgium kristiaanvandeneynde Antwerp, Belgium

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

Comments & Activities

Production build 0.71.5 2024