-
Notifications
You must be signed in to change notification settings - Fork 71
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
fix: report correct state of feature flags on TUI #6611
Comments
Tagging relevant members for discussion: @pujavs @yuriyz @devrimyatar @nynymike |
If "featureFlags" configuration is absent or if it has no values then AS consider it as everything is enabled. To keep it clear to end user I guess we can do following:
What do you guys think ? |
I think we are trying to determine which flags should be enabled when jans installed. |
By default we don't specify any specific flag, Means no values for "featureFlags" which for AS means everything is enabled. We can start maintaining that list and simply put all values there but then each time new feature flags is added we will need to remember to update it. Current approach is better because we don't need to maintain it. However I agree with Dhaval that we can't simply show everything unchecked while in fact everything is enabled. That's why I'm proposing solution described above with "All features enabled [x]" which should solve end-user confusion. |
I agree with @yuriyz It's better to enable all by default and disable only specified. This will work fork new components as well |
Okay, I am going to check all flags if config-api does not return property featureFlags |
Does this not take away our capability to disable a particular flag at the start? we can still do it via a code change, correct? I think it is important to be able to do so. Maybe, with the feature flags that we have currently, we are ok keeping everything enabled. In the future, we may have flags that are disabled by default and we want the admin to enable them explicitly. We already have a user voicing concern on Gitter about this. @nynymike can you opine on this? |
It does not.
correct |
I need to consider this. The actual defaults should be to max privacy and security... not just to all enabled or disabled. |
|
It disables whole ./well-known endpoint. AS stops returning replies
|
Yes |
Feature flags state is set according to list provided above by @nynymike . |
I was checking the new feature flag screen behavior after we merged and fixed this issue and #6779. What I see on the TUI is same as before. Is there something that we still need to do? |
On a fresh install of Janssen Server(build: 1.0.21-nightly), feature flags are shown as below in TUI.
All checkboxes are unchecked. Giving an impression that all flags are disabled. At the same time, on AS all the flags are enabled by default.
We need to fix this inconsistency. TUI should always show which flags are enabled/disabled on AS. There has to be a way of TUI to know which all flags are available on AS and out of those, which ones are enabled at that point in time.
Context: discussion here
The text was updated successfully, but these errors were encountered: