Return deploy key title when humanizing access levels
When we humanize a protected ref access level with a deploy key we used to return "Deploy Key", however, if we look at how users and groups are humanized we return their names which identifies the user or group rather than the role. As a deploy key is not a role but rather a thing we should return the name so users have more context. Changelog: changed
显示
- app/models/concerns/protected_ref_deploy_key_access.rb 1 个添加, 1 个删除app/models/concerns/protected_ref_deploy_key_access.rb
- spec/requests/api/protected_branches_spec.rb 1 个添加, 1 个删除spec/requests/api/protected_branches_spec.rb
- spec/requests/api/protected_tags_spec.rb 1 个添加, 1 个删除spec/requests/api/protected_tags_spec.rb
加载中
想要评论请 注册 或 登录