diff options
author | Max Wittig <max.wittig@siemens.com> | 2020-04-06 09:38:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 09:38:59 +0200 |
commit | fa34f5e20ecbd3f5d868df2fa9e399ac6559c5d5 (patch) | |
tree | d991d1a8ee861ae86d1fc7847164b398d2605835 /gitlab | |
parent | 50fcd1237613645031410386e87b96b81ef5fb78 (diff) | |
download | gitlab-fa34f5e20ecbd3f5d868df2fa9e399ac6559c5d5.tar.gz |
chore(group): update group_manager attributes (#1062)
* chore(group): update group_manager attributes
Co-Authored-By: Nejc Habjan <hab.nejc@gmail.com>
Diffstat (limited to 'gitlab')
-rw-r--r-- | gitlab/v4/objects.py | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 8852a1e..0b95944 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1408,15 +1408,27 @@ class GroupManager(CRUDMixin, RESTManager): "statistics", "owned", "with_custom_attributes", + "min_access_level", ) _create_attrs = ( ("name", "path"), ( "description", + "membership_lock", "visibility", - "parent_id", + "share_with_group_lock", + "require_two_factor_authentication", + "two_factor_grace_period", + "project_creation_level", + "auto_devops_enabled", + "subgroup_creation_level", + "emails_disabled", + "avatar", + "mentions_disabled", "lfs_enabled", "request_access_enabled", + "parent_id", + "default_branch_protection", ), ) _update_attrs = ( @@ -1425,9 +1437,20 @@ class GroupManager(CRUDMixin, RESTManager): "name", "path", "description", + "membership_lock", + "share_with_group_lock", "visibility", + "require_two_factor_authentication", + "two_factor_grace_period", + "project_creation_level", + "auto_devops_enabled", + "subgroup_creation_level", + "emails_disabled", + "avatar", + "mentions_disabled", "lfs_enabled", "request_access_enabled", + "default_branch_protection", ), ) |