dokku-acl icon indicating copy to clipboard operation
dokku-acl copied to clipboard

Add commands for managing DOKKU_SUPER_USER and other config

Open kevinob11 opened this issue 5 years ago • 2 comments

Dokku acl should have commands for setting the available config variables.

Could be variable specific: dokku acl:set-super-user (suggested by @josegonzalez) Or general dokku acl:config DOKKU_SUPER_USER=myusername but you lose some discoverability in this case

kevinob11 avatar Mar 31 '19 14:03 kevinob11

Maybe:

dokku acl:set super-user USERNAME
dokku acl:set allow-command-line true
dokku acl:set user-commands "help version"
dokku acl:set app-commands "logs urls ps:rebuild ps:restart ps:stop ps:start git-upload-pack git-upload-archive"

These would then reserialize the entire ~/.dokkurc/acl file, though ideally we would just use the properties functionality in dokku core.

josegonzalez avatar Apr 02 '19 03:04 josegonzalez

LGTM, properties in dokku core seems convenient.

kevinob11 avatar Apr 02 '19 04:04 kevinob11