]> source.dussan.org Git - nextcloud-server.git/commit
Add filter for 'backend' to user REST route
authorLukas Reschke <lukas@owncloud.com>
Tue, 9 Dec 2014 17:36:40 +0000 (18:36 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 10 Dec 2014 11:07:34 +0000 (12:07 +0100)
commit5dc6406b7075a6f1db3ada7a9d0f5ddc93f58b18
tree87221af31e42aaa9031672706752309b1ccc37db
parent5398bbdc003a93f8652b7c7a88bc80e7710996c9
Add filter for 'backend' to user REST route

This adds a "backend" type filter to the index REST route which is a pre-requisite for https://github.com/owncloud/core/issues/12620

For example when calling `index.php/settings/users/users?offset=0&limit=10&gid=&pattern=&backend=OC_User_Database` only users within the backend `OC_User_Database` would be shown. (requires sending a CSRF token as well)

Depends upon https://github.com/owncloud/core/pull/12711
lib/private/user.php
lib/private/user/manager.php
lib/public/iusermanager.php
settings/controller/userscontroller.php
tests/lib/user/manager.php
tests/settings/controller/userscontrollertest.php