From 1020ce965ff0cd3bfc283d4f0ad40e41e4d1bcee Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Tue, 22 Nov 2022 04:44:47 +0530 Subject: feat: add support for SAML group links (#2367) --- docs/gl_objects/groups.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'docs/gl_objects') diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst index 98f0bee..fafa40a 100644 --- a/docs/gl_objects/groups.rst +++ b/docs/gl_objects/groups.rst @@ -358,6 +358,28 @@ You can use the ``ldapgroups`` manager to list available LDAP groups:: # list the groups for a specific LDAP provider ldap_groups = gl.ldapgroups.list(search='foo', provider='ldapmain') +SAML group links +================ + +Add a SAML group link to an existing GitLab group:: + + saml_link = group.saml_group_links.create({ + "saml_group_name": "", + "access_level": + }) + +List a group's SAML group links:: + + group.saml_group_links.list() + +Get a SAML group link:: + + group.saml_group_links.get("") + +Remove a link:: + + saml_link.delete() + Groups hooks ============ -- cgit v1.2.1