Skip to content

Commit 1c53ecb

Browse files
author
Gauvain Pocentek
committed
Update the ApplicationSettings attributes
1 parent f00340f commit 1c53ecb

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

gitlab/objects.py

+17-5
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,26 @@ def Key(self, id=None, **kwargs):
660660
class ApplicationSettings(GitlabObject):
661661
_url = '/application/settings'
662662
_id_in_update_url = False
663-
optionalUpdateAttrs = ['after_sign_out_path', 'default_branch_protection',
663+
optionalUpdateAttrs = ['after_sign_out_path',
664+
'container_registry_token_expire_delay',
665+
'default_branch_protection',
664666
'default_project_visibility',
665667
'default_projects_limit',
666-
'default_snippet_visibility', 'gravatar_enabled',
667-
'home_page_url', 'restricted_signup_domains',
668+
'default_snippet_visibility',
669+
'domain_blacklist',
670+
'domain_blacklist_enabled',
671+
'domain_whitelist',
672+
'enabled_git_access_protocol'
673+
'gravatar_enabled',
674+
'home_page_url',
675+
'max_attachment_size',
676+
'repository_storage',
677+
'restricted_signup_domains',
668678
'restricted_visibility_levels',
669-
'session_expire_delay', 'sign_in_text',
670-
'signin_enabled', 'signup_enabled',
679+
'session_expire_delay',
680+
'sign_in_text',
681+
'signin_enabled',
682+
'signup_enabled',
671683
'twitter_sharing_enabled',
672684
'user_oauth_applications']
673685
canList = False

0 commit comments

Comments
 (0)