[PAUSED] pmm: Add auto_escalate[] logic#214
[PAUSED] pmm: Add auto_escalate[] logic#214NICHOLAS85 wants to merge 2 commits intobedrocklinux:masterfrom
Conversation
|
Current issues after a day of usage:
|
9dda129 to
302b3d3
Compare
|
Placed on hold until a per-user infrastructure is developed for pmm/Bedrock as pmm will have to manage non-root per-user package caches as well. |
12e1061 to
524beae
Compare
af8f848 to
99a8224
Compare
Allows a pm to set
auto_escalate[]. When this var is set its value will be used to populate${root_user}for other pms. This is useful to mimic autosudoing uis behaviors like yay for other pms.I tested every command to check whether they needed root permissions or not to function and prepended the command which did. However, this doesn't mean I didn't miss any or miss-categorize so I'll keep checking each commands behavior as I use this pr.
The Bedrock documentation would need to be updated to reflect this new variable of course.