Expose path_lock permissions in graphql endpoint
We introduced new fine grained abilities for the path locks in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/182573 This change exposes those abilities in the graphql endpoint which will be consumed by the frontend to correctly display the lock path button when a file is either locked or unlocked Related to https://gitlab.com/gitlab-org/gitlab/-/issues/512677 Changelog: added EE: true
上级
32101ca8
No related branches found
No related tags found
显示
- doc/api/graphql/reference/_index.md 11 个添加, 0 个删除doc/api/graphql/reference/_index.md
- ee/app/graphql/ee/types/permission_types/project.rb 2 个添加, 0 个删除ee/app/graphql/ee/types/permission_types/project.rb
- ee/app/graphql/types/path_lock_type.rb 2 个添加, 0 个删除ee/app/graphql/types/path_lock_type.rb
- ee/app/graphql/types/permission_types/projects/path_lock.rb 13 个添加, 0 个删除ee/app/graphql/types/permission_types/projects/path_lock.rb
- ee/spec/graphql/types/path_lock_type_spec.rb 2 个添加, 2 个删除ee/spec/graphql/types/path_lock_type_spec.rb
- ee/spec/graphql/types/permission_types/project_spec.rb 1 个添加, 1 个删除ee/spec/graphql/types/permission_types/project_spec.rb
- ee/spec/graphql/types/permission_types/projects/path_lock_spec.rb 13 个添加, 0 个删除...graphql/types/permission_types/projects/path_lock_spec.rb
加载中
想要评论请 注册 或 登录