aboutsummaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2023-05-02 11:25:49 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2023-05-02 11:25:49 +0000
commit6e15a2bc5a99f579cd12f7069051c2ad87a5e402 (patch)
tree0285e660ad72f002f9e85aeb5beac1db63edb2fb /lib/plugins
parent99e6757bf03e25dab1576847c6cfe020234c26e0 (diff)
add user lookup filter for roles and use that for auto inserting, fixes #2029
Closes #2029 Merge request studip/studip!1323
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/db/RolePersistence.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plugins/db/RolePersistence.class.php b/lib/plugins/db/RolePersistence.class.php
index 85f47a2..d2b0347 100644
--- a/lib/plugins/db/RolePersistence.class.php
+++ b/lib/plugins/db/RolePersistence.class.php
@@ -22,6 +22,7 @@ class RolePersistence
/**
* Returns all available roles.
*
+ * @param bool $grouped Return the roles grouped by system type or other
* @return Role[]|array{system: Role[], other: Role[]}
*/
public static function getAllRoles(bool $grouped = false): array