forked from ccfreiburg/ccf-ctldap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to use global group members endpoint and filter departments
Previous work to avoid the global group members endpoint caused high load on the API server as we needed an additional request per group. Instead we now revert to the old behavior which requires to give the API user "administer persons" permissions and therefore see all persons. In order to still limit the exported persons to a certain department, let's introduce a department filter for the persons.
- Loading branch information
Showing
1 changed file
with
39 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters