Skip to content

Comments

Add support for specifying multiple superusers#37

Open
RealOrangeOne wants to merge 1 commit intodokku-community:masterfrom
RealOrangeOne:feature/multiple-super-users
Open

Add support for specifying multiple superusers#37
RealOrangeOne wants to merge 1 commit intodokku-community:masterfrom
RealOrangeOne:feature/multiple-super-users

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

Development

Successfully merging this pull request may close these issues.

Plugin crons and core systemd services stop working with this plugin installed Using dokku-acl with dokku-letsencrypt breaks auto-renewal

1 participant