Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1665] Fix bug where we wouldn't get the group list even though we w…
…ere authorized The problem was that we checked if there were roles with 'manage_group' permission and returned an empty list if there weren't, even if the user calling was a sysadmin (that didn't need a role with 'manage_group' permission).
- Loading branch information
1 parent
c57e193
commit 4e16371
Showing
2 changed files
with
34 additions
and
8 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
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