When you install Drupal, it created by default the "super admin" user with id (1) with a non defined role, so with this module users can edit this user because that one is not in the role weight logic, in this way there should be an exception to the user with Id one.

Comments

fabiansierra5191 created an issue. See original summary.

fabiansierra5191’s picture

Attached patch to avoid that users could edit the super admin user.

fabiansierra5191’s picture

Status: Active » Needs review

stefan.butura’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.