Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Verified Domains Group Level #3176

Copy link
Copy link
@xakepnz

Description

@xakepnz
Issue body actions

Verified Domains at the Group level

Feature request to create the attribute:allowed_email_domains_list (Comma-separated list of email address domains to allow group access). For the Group class.

It was introduced in 17.4. GitLab Premium and Ultimate only)

The ability exists over API to query this:

curl -H "PRIVATE-TOKEN: $PAT" \
  "http://127.0.0.1:3000/api/v4/groups/27" \
  -s \
  | jq ".allowed_email_domains_list"
"gitlab.com"

e.g.

>>> group = gl.groups.get('1337')
>>> vd = group.allowed_email_domains_list.list(get_all=True)
>>> for d in vd):
...     print(d)
gitlab.com

ref: https://gitlab.com/gitlab-security-oss/cis/gitlabcis/-/issues/48

Specifications

  • python-gitlab version: 5.6.0
  • Gitlab server version (or gitlab.com): GitLab Enterprise Edition 17.11.0-pre 76ac92593a5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.