Group administrator cannot create user for group

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.4 and 30.0.10
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12
  • Web server and version (e.g, Apache 2.4.25):
    • Apache
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Group administrator cannot create new user for that group

Steps to replicate it (hint: details matter!):

  1. Create a group “Mitarbeiter”
  2. Create new user “master” and give him group administration for “Mitarbeiter”
  3. Login as “master”
  4. Try to create a new user and assign this new user to “Mitarbeiter” - the dropdown is empty

Log entries

No new entries in NC log and php error log

In the apache access log (only logged the 403 error, all other requests are 200) during URL call “/cloud/index.php/settings/users”

[10/Jun/2025:12:22:50 +0200] "GET /cloud/ocs/v2.php/cloud/groups/details?search=&offset=0&limit=25 HTTP/1.1" 403 1093 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"

Web Browser

AppNavigationGroupList.vue:98 [ERROR] settings:
Gruppen konnten nicht geladen werden (groups could not be loaded)

{
    "app": "settings",
    "uid": "test",
    "level": 2,
    "error": {
        "message": "Request failed with status code 403",
        "name": "AxiosError",
        "stack": "AxiosError: Request failed with status code 403\n    at r (https://***/dist/core-common.js?v=2c4ab380-30:1:3716607)\n    at XMLHttpRequest.E (https://***/dist/core-common.js?v=2c4ab380-30:1:3696597)\n    at k.request (https://***/dist/core-common.js?v=2c4ab380-30:1:3704110)\n    at async https://***/dist/settings-users-3239.js?v=5c8f8454bf4b08a084b6:1:450",
        "config": {
            "transitional": {
                "silentJSONParsing": true,
                "forcedJSONParsing": true,
                "clarifyTimeoutError": false
            },
            "adapter": [
                "xhr",
                "http",
                "fetch"
            ],
            "transformRequest": [
                null
            ],
            "transformResponse": [
                null
            ],
            "timeout": 0,
            "xsrfCookieName": "XSRF-TOKEN",
            "xsrfHeaderName": "X-XSRF-TOKEN",
            "maxContentLength": -1,
            "maxBodyLength": -1,
            "env": {},
            "headers": {
                "Accept": "application/json, text/plain, */*",
                "requesttoken": "TqLVfF9nzlLyJ9I2fY8aNTCD...",
                "X-Requested-With": "XMLHttpRequest"
            },
            "signal": {},
            "method": "get",
            "url": "https://***/ocs/v2.php/cloud/groups/details?search=&offset=0&limit=25",
            "allowAbsoluteUrls": true
        },
        "code": "ERR_BAD_REQUEST",
        "status": 403
    }
}

Configuration

Nextcloud

I cannot access occ.

Apps

Only default apps.

@SysKeeper Thank you. Maybe the same problem.

But: That is not a bug, that is a show stopper.

User management by group admins is essential for a cloud solution. Seems to be a problem since (at least) version 30.0.10. I cannot believe this is (or is being handled as) normal “bug”.

Well, it’s either a bug or a feature/enhancement request. So I guess we can agree, that it is a bug.

Other than that, it is already fixed. Feel free to manually apply the fix in the meantime until a new version is published.

Well, it’s either a bug or a feature/enhancement request. So I guess we can agree, that it is a bug.

i agree ;o)

Thanks for pointing me to the “fixed” state. Due to server permissions, i cannot manually fix this. So i have to wait for an update. But good to know, it’s fixed.

Thanks !