]> source.dussan.org Git - nextcloud-server.git/commit
enh(LDAP): implement IIsAdmin interface
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Tue, 21 Nov 2023 19:20:16 +0000 (20:20 +0100)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 1 Dec 2023 11:48:24 +0000 (12:48 +0100)
commitd6b356c63bdf07b094d69ded0d865eab28a0ba55
tree396c432bd4ce57e5509e7d7d4185e15158fb6171
parent546cf0ed2fa5ca7143953639f3a86b58505498a8
enh(LDAP): implement IIsAdmin interface

- add configuration to specify one LDAP group acting as admin group (CLI)
- implement `isAdmin()` method, basically relying on inGroup against the
  configured group

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/user_ldap/lib/Configuration.php
apps/user_ldap/lib/Connection.php
apps/user_ldap/lib/Group_LDAP.php
apps/user_ldap/lib/Group_Proxy.php
build/integration/ldap_features/openldap-numerical-id.feature