{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18382","labels_url":"https://api.github.com/repos/owncloud/core/issues/18382/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18382/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18382/events","html_url":"https://github.com/owncloud/core/issues/18382","id":101616321,"number":18382,"title":"Enable provisioning api addUser for subadmins","user":{"login":"michag86","id":6691165,"avatar_url":"https://avatars.githubusercontent.com/u/6691165?v=3","gravatar_id":"","url":"https://api.github.com/users/michag86","html_url":"https://github.com/michag86","followers_url":"https://api.github.com/users/michag86/followers","following_url":"https://api.github.com/users/michag86/following{/other_user}","gists_url":"https://api.github.com/users/michag86/gists{/gist_id}","starred_url":"https://api.github.com/users/michag86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michag86/subscriptions","organizations_url":"https://api.github.com/users/michag86/orgs","repos_url":"https://api.github.com/users/michag86/repos","events_url":"https://api.github.com/users/michag86/events{/privacy}","received_events_url":"https://api.github.com/users/michag86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:provisioning_api","name":"app:provisioning_api","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/discussion","name":"discussion","color":"fbca04"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement%20-%20proposed","name":"enhancement - proposed","color":"FF9900"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-08-18T09:47:48Z","updated_at":"2015-11-16T13:59:52Z","closed_at":"2015-11-16T13:59:52Z","body":"At the moment only admins can user addUser from provsioning api, but not subadmins.\r\n\r\nTo enable it for subadmins, there is one problem.\r\nIf a subadmin creates a user, this user has to be added to a group that the subadmin can manage.\r\n\r\nIn the internal user management, the user can select the groups, when he adds the user. If no group is selected, all groups are assigned.\r\n\r\nAt the moment the provisioning api adduser does not support a list of groups that the user is assigned to after creation."}}