Problem/Motivation
It is now possible to make UID 1 a normal user: https://www.drupal.org/node/2910500
In that scenario, it is not useful to block UID 1 user.
Steps to reproduce
Add this to services.yml:
parameters:
# Toggles the super user access policy. If your website has at least one user
# with the Administrator role, it is advised to set this to false. This allows
# you to make user 1 a regular user, strengthening the security of your site.
security.enable_super_user: false
Run the admin_user security check.
Proposed resolution
The admin_user check should pass if security.enable_super_user is set to false.
Comments
Comment #4
smustgrave commentedMaybe this?
Comment #6
smustgrave commentedWill include with next release.
Comment #7
smustgrave commented