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

Default group does not show anymore after page reload #414

Open
nickvergessen opened this issue Apr 4, 2022 · 4 comments
Open

Default group does not show anymore after page reload #414

nickvergessen opened this issue Apr 4, 2022 · 4 comments

Comments

@nickvergessen
Copy link
Member

Not sure if this is a regression from #411 or something else

Steps to reproduce

  1. Add a default group
  2. Make sure it's saved
  3. Reload the page

Expected behaviour

Group shows as selected

Actual behaviour

Nothing is selected

@nursoda
Copy link

nursoda commented Nov 14, 2022

This issue just hit me on NC25.0.1 – if it's the same?
My steps to reproduce:

  1. install registration app
  2. configure its admin settings to add newly registered users to a certain default group (preset is "Guests"), personally I tested with setting "Admin must confirm users" ON.
  3. let any user register itself → admin receives notification that a new user did register
  4. as admin, activate that user (either through the email link, or in /settings/users)

Before and after step 4, the newly created user isn't assigned any group. Neither the preset nor any created group (an empty group in my case) works.

@NewlineDotBlog
Copy link

I also just ran into this issue. From what I could tell, when saving the configuration of the registration plugin in the /settings/admin/registration page for the first time, the default group setting is not even sent to the server. I got the following payload sent when saving the settings, which lacks any set :

{"admin_approval_required":true,"allowed_domains":"","domains_is_blocklist":false,"show_domains":false,"email_is_optional":false,"disable_email_verification":false,"email_is_login":false,"username_policy_regex":"","show_fullname":false,"enforce_fullname":false,"show_phone":false,"enforce_phone":false,"additional_hint":"","email_verification_hint":""}

However, if you change the default group twice, the default is group is sent to the server and works fully as expected afterwards.

@dw5
Copy link

dw5 commented Jun 20, 2023

"Registered users default group" looks like just doesn't save at all. New users would need to be manually added to the group. Having require admin approval is a must, but that would be problematic if there's too many new user sign ups

@Arcadie-munki
Copy link

Try this :
Select the group
activate the Admin Approval
deactivate the admin approval
reload the page and check that the group is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants