Consider user permissions when validating Code Owners
- Check that references to non-group names are users in the project - Check that references to users have adequate access to approve Changelog: changed EE: true
显示
- ee/config/feature_flags/wip/validate_codeowner_users.yml 9 个添加, 0 个删除ee/config/feature_flags/wip/validate_codeowner_users.yml
- ee/lib/gitlab/code_owners/entry.rb 5 个添加, 7 个删除ee/lib/gitlab/code_owners/entry.rb
- ee/lib/gitlab/code_owners/error.rb 1 个添加, 0 个删除ee/lib/gitlab/code_owners/error.rb
- ee/lib/gitlab/code_owners/file.rb 31 个添加, 11 个删除ee/lib/gitlab/code_owners/file.rb
- ee/lib/gitlab/code_owners/user_permission_check.rb 47 个添加, 0 个删除ee/lib/gitlab/code_owners/user_permission_check.rb
- ee/spec/graphql/api/validate_code_owner_file_spec.rb 11 个添加, 4 个删除ee/spec/graphql/api/validate_code_owner_file_spec.rb
- ee/spec/lib/gitlab/code_owners/entry_spec.rb 5 个添加, 5 个删除ee/spec/lib/gitlab/code_owners/entry_spec.rb
- ee/spec/lib/gitlab/code_owners/file_spec.rb 44 个添加, 9 个删除ee/spec/lib/gitlab/code_owners/file_spec.rb
- ee/spec/lib/gitlab/code_owners/loader_spec.rb 28 个添加, 13 个删除ee/spec/lib/gitlab/code_owners/loader_spec.rb
- ee/spec/lib/gitlab/code_owners/user_permission_check_spec.rb 221 个添加, 0 个删除ee/spec/lib/gitlab/code_owners/user_permission_check_spec.rb
- ee/spec/models/approval_merge_request_rule_spec.rb 4 个添加, 4 个删除ee/spec/models/approval_merge_request_rule_spec.rb
- ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb 2 个添加, 1 个删除...ces/merge_requests/sync_code_owner_approval_rules_spec.rb
加载中
想要评论请 注册 或 登录