Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commands for managing DOKKU_SUPER_USER and other config #24

Open
kevinob11 opened this issue Mar 31, 2019 · 2 comments
Open

Add commands for managing DOKKU_SUPER_USER and other config #24

kevinob11 opened this issue Mar 31, 2019 · 2 comments

Comments

@kevinob11
Copy link

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

@josegonzalez
Copy link
Member

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.

@kevinob11
Copy link
Author

LGTM, properties in dokku core seems convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants