Closed febbraro closed 6 years ago
I like this, it's a good start. This probably still needs some light touches for spinner compatibility, and rather than complicate every spot that sudo comes into place, we might as well flag the command structs involved with an Admin: true
flag, which will also allow us to front-load the password prompt.
A different take on privs. This could be expanded later to wrap requests into blocks surrounded by a request to escalate privileges. For now I just cleans up the existing.