I am struggling with access control mechanic around PSUControl plugin. I would like to grant individual users the rights to turn on/off the printer.
The default 'Guest' is able to see the button, but unable to control it (throws 403). This is fine.
I would expect, that granting 'System' privilege, which is "Allows to run system commands, e.g. restart OctoPrint, shutdown or reboot the system", would do the trick. But unfortunately, it won't.
(Unsurprisingly, master account is working just fine. I guess because of the 'Admin'?)
I have stumbled upon some notes about "plugin permissions", but it looks like that PSUControl is not registered to this.
So, is there a way how to, let's say, create my own permission, granting access to PSUControl only; or at least connect it to some other, e.g., 'System'?
Thanks a lot!