Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Administrator is logged in it should be visual different from normal user #32885

Closed
xor-gate opened this issue Dec 18, 2024 · 5 comments
Closed
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@xor-gate
Copy link
Contributor

xor-gate commented Dec 18, 2024

Feature Description

When a user has the site administrator access rights a banner should be displayed so for users with two accounts e.g xor-gate and xor-gate-admin the -admin account with site administrator rights webgui should display a warning in a red box that all mutations are with the Admin account. This makes it more aware when I have developer hat on and devops admin hat on. I have attached a screenshot with a HTML/CSS hack (still not good) how I think this can be displayed.

I can look into the backend part to emit the correct HTML/CSS but I would need somebody to create the correct HTML/CSS.

Screenshots

Untitled

@xor-gate xor-gate added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Dec 18, 2024
@lunny
Copy link
Member

lunny commented Dec 18, 2024

I can see another two solutions

  • A different top bar background color for the administration account
  • Combine an administrator small logo with the user's avatar in the top right bar.

@xor-gate
Copy link
Contributor Author

Yeah that sounds better, and less GUI intrusive. If the navbar has different color is also enough. Then no UI element has to be added.

@xor-gate
Copy link
Contributor Author

Screenshot 2024-12-18 at 21 02 15

This is a draft with light-theme. Now I have just hacked to insert 100% red style inline in the HTML.

With dark theme we need to invert the text if we want 100% red

Screenshot 2024-12-18 at 21 04 03

@xor-gate xor-gate changed the title When user is logged in with Site Administrator access rights a banner should be displayed When Administrator is logged in it should be visual different from normal user Dec 18, 2024
@xor-gate
Copy link
Contributor Author

I think I would prefer the background color of the navbar and not a additional icon. It should be a little more visual intrusive than just a small icon.

@xor-gate
Copy link
Contributor Author

xor-gate commented Dec 19, 2024

As we cannot get general consensus about this idea. I'm closing this so nobody puts unnessary time and effort in this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants