-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
subadmin cannot disable member of his group #31280
Comments
GitMate.io thinks possibly related issues are #31016 (subadmin should be able to remove users from the group), #20282 (Allow non-admin users to see members of their groups), #31279 (Cannot see members of a group having special characters(@,/,&) in their name), #30558 (FIx wording if you are not a member of any groups), and #30551 (Fix wording if you are not a member of any groups). |
IMO this is a missing feature for sub-admins. A sub-admin can delete any of the users in the group that they manage, so it seems logical that they should be able to do the "lesser" task of disabling a user and enabling them again. Actually they can do it if they are nerds and sit at a command prompt and do This issue is about making it happen for subadmins in the webUI. |
@paurakhsharma let's look at the current UI tests for the user's page and see how we can extend them to cover more of the "obvious" things that should have basic automated smoke tests. |
Fixed in Leaving this open for making some tests. |
Yes I will look into it after some remaining tests on API sharing |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
@individual-it you and @paurakhsharma could have a look at how to test this? |
#33046 implements the test scenario in core stable10. |
This works fine using userprovisioning API but it is the case in webUI
Steps to reproduce
admin
create a new groupnewgroup
admin
create new usernewuser
admin
make thenewuser
subadmin ofnewgroup
admin
assignanotheruser
tonewgroup
newuser
try todisable
anotheruser
fromnewgroup
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
Screenshot
The text was updated successfully, but these errors were encountered: