Restrict cloud site admin access to user settings
Created by: flying-robot
Cloud site admins should not have access to user settings[0]. This change adds an additional set of clauses that will:
-
Show a danger alert when an admin is viewing another user's settings.
-
Hide the settings editor from the admin.
-
Restrict programmatic access to the settings.
[0] https://sourcegraph.atlassian.net/browse/COREAPP-138