To Get list of GitLab instance Project admins list

6 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Ashwini

ungelesen,
10.04.2017, 03:35:5010.04.17
an GitLab
Hi ,

How do we get the Project admins list in GitLab instance?? Do we have any API's to get the list?
Please suggest to proceed.

Regards
Ashwini

Aleksey Tsalolikhin

ungelesen,
10.04.2017, 07:03:5010.04.17
an gitl...@googlegroups.com
Hi Ashwini!

GitLab doesn't have an idea of "admin" for a Project. See https://docs.gitlab.com/ce/api/members.html#group-and-project-members documents the list of valid access levels:

10 => Guest access
20 => Reporter access
30 => Developer access
40 => Master access
50 => Owner access # Only valid for groups

I suspect you may mean "Master" (or group "Owner").  See the full list of permissions and capabilities at https://docs.gitlab.com/ee/user/permissions.html#permissions 

To answer your second question, https://docs.gitlab.com/ce/api/members.html#list-all-members-of-a-group-or-project shows how to list project/group members and their access levels via the GitLab API.

The GitLab API is quite capable -- check out https://docs.gitlab.com/ce/api/  :)

Best regards,
Aleksey


--
You received this message because you are subscribed to the Google Groups "GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/10ad108a-261c-4dce-ab2b-549c8a8e84dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten