File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,21 @@ def delete_ldap_group_link(
194
194
path += f"/{ cn } "
195
195
self .manager .gitlab .http_delete (path , ** kwargs )
196
196
197
+ @cli .register_custom_action ("Group" )
198
+ @exc .on_http_error (exc .GitlabGetError )
199
+ def list_ldap_group_links (self , ** kwargs ):
200
+ """Add an LDAP group link.
201
+
202
+ Args:
203
+ **kwargs: Extra options to send to the server (e.g. sudo)
204
+
205
+ Raises:
206
+ GitlabAuthenticationError: If authentication is not correct
207
+ GitlabGetError: If the server cannot perform the request
208
+ """
209
+ path = "/groups/%s/ldap_group_links" % self .get_id ()
210
+ return self .manager .gitlab .http_get (path , ** kwargs )
211
+
197
212
@cli .register_custom_action ("Group" )
198
213
@exc .on_http_error (exc .GitlabCreateError )
199
214
def ldap_sync (self , ** kwargs : Any ) -> None :
You can’t perform that action at this time.
0 commit comments