-
- Downloads
Remove redundant permission checks for GraphQL job type
Reading a build requires a project-level permission, so we don't need to check read permissions for each build. In this commit we remove the read_commit_status authorization from Ci::JobType because its callers already do the check. Changelog: performance
parent
36157228
No related branches found
No related tags found
Showing
- app/graphql/types/ci/job_type.rb 2 additions, 1 deletionapp/graphql/types/ci/job_type.rb
- app/graphql/types/terraform/state_version_type.rb 2 additions, 1 deletionapp/graphql/types/terraform/state_version_type.rb
- spec/graphql/types/ci/job_type_spec.rb 0 additions, 1 deletionspec/graphql/types/ci/job_type_spec.rb
- spec/graphql/types/terraform/state_version_type_spec.rb 58 additions, 0 deletionsspec/graphql/types/terraform/state_version_type_spec.rb
-
mentioned in merge request kubitus-project/kubitus-installer!236 (merged)
Please register or sign in to comment