catgiggle / OctoPrint-GpioControl

GNU Affero General Public License v3.0
23 stars 14 forks source link

Feature request: use modern permissions #48

Open petrmanek opened 10 months ago

petrmanek commented 10 months ago

GPIO Control is a really neat and useful plugin, however using it with multiple users and varying access levels seems to be cumbersome. Case in point, in the current version the plugin effectively requires that all users to be in the "Operator" group in order to control GPIO.

This is because:

For this reason, all users in the "Operator" group have the "USER" permission necessary to use GPIO Control. However, in my application users (and groups) are populated from LDAP and their permissions are inherited -- unfortunately this has no effect, and neither such user is allowed to perform GPIO Control API calls on the grounds of insufficient permissions.

Feature request: I would like to propose that this plugin adopts the new way of declaring and controlling granular permissions. This would solve the problem by allowing arbitrary groups, possibly different from "Operator", to be allowed API access to GPIO Control.

petrmanek commented 9 months ago

@catgiggle Bumping this after nearly two months. Could I please get any response from the maintainer? If nothing else, would anybody be interested in merging this if I implemented it?

petrmanek commented 1 month ago

@catgiggle 9 months later, here we are. Is this repository officially dead?