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 support for specifying multiple superusers #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RealOrangeOne
Copy link

This not only makes running commands manually much simpler, but removes some confusion around "dokku" / "default" user as the superuser (some places need both).

Fixes #22
Fixes #36

Currently untested, but should theoretically work.

I've intentionally left the variable unpluralized, so the change is completely non-breaking.

The main downside I can see, is that some places we display $DOKKU_SUPER_USER will just show the space-separated internal value.

This also has the benefit of reusing an internal function, rather than doing a comparison multiple times.

This not only makes running commands manually much simpler, but removes some confusion around "dokku" / "default" user as the superuser (some places need both).

Fixes dokku-community#22
Fixes dokku-community#36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant