Skip to content

Cant query current ldap groups #1609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrewlarssen opened this issue Sep 23, 2021 · 4 comments
Closed

Cant query current ldap groups #1609

andrewlarssen opened this issue Sep 23, 2021 · 4 comments
Labels
EE Issues related to the enterprise version of GitLab feature help wanted

Comments

@andrewlarssen
Copy link

Description of the problem, including code/CLI snippet

There are methods to both add and remove ldap links on groups but not to query the existing ldap links

Expected Behavior

There should be a method on group to query the currently linked ldap groups hitting "https://gitlab.example.com/api/v4/groups/:id/ldap_group_links"

Actual Behavior

No method exists

Specifications

  • python-gitlab version: latest
  • API version you are using (v3/v4): 4
  • Gitlab server version (or gitlab.com): latest
@max-wittig
Copy link
Member

That's an EE feature. As I have no EE instance to test with, this is not really a priority for the project.

But we're very open to MRs, so if you want to contribute that I would be happy to review it.

@max-wittig max-wittig added EE Issues related to the enterprise version of GitLab feature labels Sep 23, 2021
@andrewlarssen
Copy link
Author

Thanks @max-wittig for the reply. Happy to create MR. I have already been having a play. There are a couple of things that may need to discuss like the inconsistency of the API. Other api calls return an empty list if there are no elements found where as this returns a 404 and a message. Once I have an MR I will add another comment

@andrewlarssen
Copy link
Author

@max-wittig created #1612

@nejch
Copy link
Member

nejch commented Nov 16, 2022

Now done in #2371

@nejch nejch closed this as completed Nov 16, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
EE Issues related to the enterprise version of GitLab feature help wanted
Projects
None yet
Development

No branches or pull requests

3 participants