diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-08-12 18:27:42 -0400 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2016-08-12 18:27:42 -0400 |
commit | 2f06027dc318bd8c4e177444a3168a0129a53687 (patch) | |
tree | b61cddd6ddc963aa824bdcabb68af89be1bb0f70 /lib | |
parent | 11eefba891f214eefc1efa334adbcc9e979c0ce3 (diff) | |
download | gitlab-ce-2f06027dc318bd8c4e177444a3168a0129a53687.tar.gz |
Change the order of the access rules to check simpler first, and add specschange-access-update
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/checks/change_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/checks/change_access.rb b/lib/gitlab/checks/change_access.rb index 52f117e963b..4b32eb966aa 100644 --- a/lib/gitlab/checks/change_access.rb +++ b/lib/gitlab/checks/change_access.rb @@ -11,7 +11,7 @@ module Gitlab end def exec - error = protected_branch_checks || tag_checks || push_checks + error = push_checks || tag_checks || protected_branch_checks if error GitAccessStatus.new(false, error) |