Skip to content

subadmin should be able to remove users from the group #31016

Closed

Description

@davitol

Steps to reproduce

You can configure it like the screenshots below this ticket

1 - As admin user create a subadmin for a group (ana) and another user that belongs to the group (luis)
2 - Log in as subadmin (ana)
3- Try to uncheck group checkbox for luis

Expected behaviour

The user can be removed from the group by the subadmin

Actual behaviour

The user is NOT removed from the group by the subadmin

Note: We have this acceptance test for checking that:

https://github.com/owncloud/core/blob/master/tests/acceptance/features/apiProvisioning/provisioning-v1.feature#L489-L499

So the provisioning api is allowing the remove, but the request is not being made in the webUI.
API and UI should be consistent

Server configuration

Operating system:
Ubuntu 16.04

Web server:
Apache

Database:
MySQL

PHP version:
7.1.15

ownCloud version:

ownCloud Stable10 from 5th April 2018
Updated from an older ownCloud or fresh install:
Fresh

Are you using external storage, if yes which one:
No

Are you using encryption:
No

Logs

No logs in owncloud.log

screen shot 2018-04-05 at 18 06 44

Activity

  1. added this to the triage milestone on Apr 5, 2018
  2. davitol commented on Apr 5, 2018

    @davitol
    ContributorAuthor

    It has been also reproduce in oC 9.1.8. so it is not a regression. It probably have failed since the beginning

  3. ownclouders commented on Apr 5, 2018

    @ownclouders
    Contributor

    GitMate.io thinks the contributor most likely able to help you is @phil-davis.

    Possibly related issues are #3260 (- Removed -), #240 (--- Removed ---), #1212 (Group Admin: Should be able to delete from group, not from system), #13709 ([provisioning_api] POSTing a request to make a user a subadmin of the same group fails), and #4174 (Unable to add new user group).

  4. PVince81 commented on Oct 15, 2018

    @PVince81
    Contributor

    closing in favor of #31280 which was fixed already

  5. locked as resolved and limited conversation to collaborators on Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions