Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6912

Prevent locking out administrator

    Details

      Description

      There are four ways to lock out the administrative functions:

      • by removing the last user from an admin group and no other users/non-empty groups have admin permission. The related WS is api/user_groups/remove_user.
      • by removing the admin permission to the last administrator user. No other users or non-empty groups have admin permission. The related WS is api/permissions/remove_user.
      • by deleting the last group which has admin permission. No other users or non-empty groups have admin permission. The related WS is api/user_groups/delete.
      • by deleting the last user who has admin permission. No other users or non-empty groups have admin permission. The related WS is api/users/deactivate.

      Note that some of these cases are already correctly handled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                simon.brandhof Simon Brandhof
                Reporter:
                teryk.bellahsene Teryk Bellahsene (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: