diff options
author | Louis <louis@chmn.me> | 2024-07-24 11:15:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 11:15:54 +0200 |
commit | 7266a9ef333b47f4ec6dd16f48227fd4b4e862d4 (patch) | |
tree | adb2b808e653b2ea1d0255ae774e97241d8c25c6 /lib/public | |
parent | f3a2806b691543ba48968f875ad381d53f68ba35 (diff) | |
parent | 7f0f671417f6de083827327d72fa7f8a21c7a950 (diff) | |
download | nextcloud-server-7266a9ef333b47f4ec6dd16f48227fd4b4e862d4.tar.gz nextcloud-server-7266a9ef333b47f4ec6dd16f48227fd4b4e862d4.zip |
Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegation
feat(users): Add users and group management to admin delegation
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IGroupManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/IGroupManager.php b/lib/public/IGroupManager.php index d4ea3f70722..ee88990df79 100644 --- a/lib/public/IGroupManager.php +++ b/lib/public/IGroupManager.php @@ -115,6 +115,14 @@ interface IGroupManager { public function isAdmin($userId); /** + * Checks if a userId is eligible to users administration delegation + * @param string $userId + * @return bool if delegated admin + * @since 30.0.0 + */ + public function isDelegatedAdmin(string $userId): bool; + + /** * Checks if a userId is in a group * @param string $userId * @param string $group |