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

Unify default value for restricting user enumeration with settings #20139

Conversation

danxuliu
Copy link
Member

Follow up to #19569

If the value was never enabled or disabled, the settings show Restrict username enumeration to groups as disabled. However, in some components it was enabled by default, which caused an inconsistency in the behaviour with respect to the settings, for example in the contacts menu.

The acceptance tests for header were failing because of this. I have also added a new test to check the behaviour when username autocompletion is restricted to groups.

If the value was never enabled or disabled, the settings show "Restrict
username enumeration to groups" as disabled. However, in some components
it was enabled by default, which caused an inconsistency in the
behaviour with respect to the settings, for example in the contacts
menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added bug 3. to review Waiting for reviews labels Mar 24, 2020
@danxuliu danxuliu added this to the Nextcloud 19 milestone Mar 24, 2020
@danxuliu danxuliu requested review from rullzer and juliusknorr March 24, 2020 13:50
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rullzer rullzer merged commit 4a29212 into master Apr 4, 2020
@rullzer rullzer deleted the unify-default-value-for-restricting-user-enumeration-with-settings branch April 4, 2020 08:33
@rullzer rullzer mentioned this pull request Apr 4, 2020
80 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants