Skip to content

subadmin cannot disable member of his group #31280

@paurakhsharma

Description

@paurakhsharma

This works fine using userprovisioning API but it is the case in webUI

Steps to reproduce

  1. As an admin create a new group newgroup
  2. As an admin create new user newuser
  3. As an admin make the newuser subadmin of newgroup
  4. As an admin assign anotheruser to newgroup
  5. As an newuser try to disable anotheruser from newgroup

Expected behaviour

Should be able to disable the user

Actual behaviour

Cannot disable the user

Server configuration

Operating system: 17.10

Web server: Apache

Database: MySQL

PHP version: 7.1

ownCloud version: (see ownCloud admin page) 10.0.8.5

Where did you install ownCloud from: git

Client configuration

Browser:

Operating system:

Logs

Browser log

Request URL: http://localhost/core/index.php/settings/users/user3/enabled
Request Method: POST
Status Code: 403 Forbidden

Screenshot

image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions