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 global override for tag_required room setting (hiding the UI buttons if used) #5940

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Ithanil
Copy link
Contributor

@Ithanil Ithanil commented Sep 5, 2024

Motivation

As suspected, communicating the intent behind the desired/required fallback modes for server tags to regular users turns out relatively difficult in many cases. Thus, some administrators might want to set the fallback mode as global overrides for all users and then hide the option from the user.

Content

This PR adds the possibility for a global override via an environment variable SERVER_TAG_FALLBACK_MODE, which when set to desired or required will override any tag_required room setting and hide the corresponding UI buttons. If not set or set to anything else (like its default config), the default behavior of per-room configurable fallback mode will apply.

Notes

#5936 needs to be merged to make the 'required' fallback mode work properly.

Copy link

sonarqubecloud bot commented Sep 5, 2024

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.

1 participant