⚠️ This issue respects the following points: ⚠️
Bug description
A Nextcloud user who is an admin of a group receives the error:
groups: Insufficient permissions to change groups
when attempting to remove a user from a group they administer.
{
"ocs": {
"meta": {
"status": "failure",
"statuscode": 422,
"message": ""
},
"data": {
"errors": {
"groups": "Insufficient permissions to change groups"
}
}
}
}
Steps to reproduce
- Log in as
admin.
- Create two groups (e.g.
naruto and boruto).
- Create a user (e.g.
naruto) and add the user (naruto) as both member and admin of the two groups.
- Log in as the created user (
naruto).
- Create another user (e.g.
hinata) and add them as a member of both groups.
- Attempt to remove
hinata from either group.
Expected behavior
The group admin should be able to remove the user from the group.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
A Nextcloud user who is an admin of a group receives the error:
when attempting to remove a user from a group they administer.
{ "ocs": { "meta": { "status": "failure", "statuscode": 422, "message": "" }, "data": { "errors": { "groups": "Insufficient permissions to change groups" } } } }Steps to reproduce
admin.narutoandboruto).naruto) and add the user (naruto) as both member and admin of the two groups.naruto).hinata) and add them as a member of both groups.hinatafrom either group.Expected behavior
The group admin should be able to remove the user from the group.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response