Allow admin mode to be toggled.
For users with admin privileges they currently see all hosts all of the time.
Given that 95% of time I am working as a non admin it would be good if I could toggle my own
admin privs on and off with a checkbox so that when I use the foreman interface most of the time
I am just like a "normal" user and only see my hosts for instance. It also offers some limited protection
agains me accidentally deleting everybody elses hosts.
Updated by Steve Traylen over 10 years ago
Assuming I have admin privileges in the first place then when visiting the foreman UI there would be an additional check box.
Admin mode on/off.
If the checkbox is 'on' then everything is as now.
If the checkbox is 'off' then my admin privileges are dropped and resulting view of the interface is as if I did not have admin rights.
Of course in the latter case I still get the 'Admin Mode" box so I can reenable admin mode.
Updated by Lukas Zapletal over 10 years ago
- Priority changed from Normal to Low
Hmmm this is an interesting idea, but won't two browser sessions do the same work for you? I've never seen something similar in a intranet application. It's nice-to-have feature for sure. We are accepting patches! :-D