Skip to content

[Bug]: Group Admins are not able to create new Accounts after Upgrade to 30.0.9 #52170

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

Open
5 of 8 tasks
mOrbo-git opened this issue Apr 14, 2025 · 9 comments · May be fixed by #52417
Open
5 of 8 tasks

[Bug]: Group Admins are not able to create new Accounts after Upgrade to 30.0.9 #52170

mOrbo-git opened this issue Apr 14, 2025 · 9 comments · May be fixed by #52417
Assignees
Labels

Comments

@mOrbo-git
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

After upgrade to 30.0.9, Group Admins are not able to create new Accounts anymore.
If you click on "New Account" the Group "admin" is prefilled in "Member of the following groups" and the Group Admin is not able to delete this Group. Adding another Group results in the Error "Logged in account must be an admin, sub admin...".

Steps to reproduce

  1. Create a group and an user with group admin rights for this group
  2. Log in as this user and try to create a new user
  3. The field "Member of the following groups" is prefilled with the group "admins"
  4. Try to delete this group an add the group created under 1.
  5. Try to create the new user with any other group

Expected behavior

Group Admins should be able to create new users in their own group.

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

See Screenshots:

Image

Image

@mOrbo-git mOrbo-git added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 14, 2025
@fenvarien
Copy link

Hi,
I can confirm that I’m also experiencing this issue on my Nextcloud instance (v30.0.9). As a regular user, I can no longer see any of the groups I manage as a group admin — the Groups section in Personal Settings is completely empty.
However, when logged in as an administrator, all groups and user memberships are still visible via the admin panel.

@susnux susnux marked this as a duplicate of #52177 Apr 16, 2025
@brknkfr
Copy link

brknkfr commented Apr 18, 2025

I can confirm the same behaviour with version 31.0.4.

@SmartKlabund
Copy link

SmartKlabund commented Apr 23, 2025

I can confirm the same behaviour with version 30.0.10. in 15 instances.

@b-bittner
Copy link

b-bittner commented Apr 23, 2025

I can also confirm it, my instance with version 30.0.10 has the same problem. Please fix it soon.

@small1
Copy link
Contributor

small1 commented Apr 23, 2025

From console log of a group admin: GET https://yettufresh-network.hiacollab.com/ocs/v2.php/cloud/groups/details?search=&offset=0&limit=25 403 (Forbidden)

@mOrbo-git
Copy link
Author

I can confirm the same behaviour with version 31.0.10. in 15 instances.

Should be 30.0.10?

@b-bittner
Copy link

I can confirm the same behaviour with version 31.0.10. in 15 instances.

Should be 30.0.10?

Of course your're right, typo, sorry.

@susnux susnux added 2. developing Work in progress and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Apr 24, 2025
@susnux susnux moved this to 🏗️ In progress in 📁 Files team Apr 24, 2025
@susnux susnux linked a pull request Apr 24, 2025 that will close this issue
4 tasks
@zilch-gg
Copy link

I'm getting the same behavior on the 3 instances I've updated to 30.0.10. The only workaround I've found is to add the user to the admin group, but that exposes critical configurations on the instance that shouldn't be accessible by a non-technical user.

Image

@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Apr 25, 2025
@skjnldsv skjnldsv marked this as a duplicate of #52301 Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🏗️ In progress
Development

Successfully merging a pull request may close this issue.

10 participants