Skip to content
代码片段 群组 项目
提交 aaeb41c2 编辑于 作者: Joe Woodward's avatar Joe Woodward
浏览文件

Expose deploy key in push access level graphql type

Branch rules requires us to display when a deploy key is assigned to the
push access levels.

Prior to this change we didn't return deploy key's
as a type.

In EE we expose `user` and `group` as their own types so clients can
differentiate between role access levels. Used as inspiration to expose
`deploy_key`s.

Adds a new policy rule to `DeployKeyPolicy` to enable `read_deploy_key`
if the deploy key is public or the user has access to a project where
the key is assigned.

Changelog: added
上级 635a4fa4
No related branches found
No related tags found
无相关合并请求
显示 146 个添加50 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册