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

Administrators can't invite new external users via email if the option for members is disabled #6893

Open
hochleitner opened this issue Mar 18, 2024 · 1 comment

Comments

@hochleitner
Copy link

hochleitner commented Mar 18, 2024

This is a follow-up to #6228

What steps will reproduce the problem?

  1. Install HumHub 1.15.3
  2. As an administrator user, go to "Administration -> Settings".
  3. Disable the options "Members can invite external users by email" and "Members can invite external users by email" and save the settings (my installation is in German, but here is the screenshots).
    image
  4. Go back to "Overview" and select "Add new user".
    image
  5. On the following screen, the button for email invitation is missing.
    image
  6. Go back to the settings, enable both options and save.
    image
  7. Again, go back to "Overview" and click "Add new user". The "Invite new people" button is now here; users can be invited by entering their email addresses.
    image

What is the expected result?

Admin users should always be allowed to invite users by email since this setting should only affect regular members.

What do you get instead?

The button is missing when the setting is disabled. This means I have to enable the setting, which potentially allows my users to invite anyone if they notice that. This is problematic for a closed instance where the admin invites their users.

Additional info

Q A
HumHub version 1.15.3
PHP version 8.3.3 CGI/FastCGI
Operating system Debian 5.10.205-2 (2023-12-31) x86_64 GNU/Linux
@WizWareTech
Copy link

This would be great if it is fixed. It has been a while now and is cumbersome to have to turn the feature on just for admin to invite, then turn it back off so users can't invite. Obviously since Admin can turn on the feature, then admin should just be able to invite without having to enable it first then disable it again.

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

No branches or pull requests

2 participants