Commit 1ce09d3c authored by Stan Hu's avatar Stan Hu

Fix typo in policy description

parent 3e4a5749
...@@ -74,7 +74,7 @@ class ProjectPolicy < BasePolicy ...@@ -74,7 +74,7 @@ class ProjectPolicy < BasePolicy
user.is_a?(DeployKey) && user.has_access_to?(project) user.is_a?(DeployKey) && user.has_access_to?(project)
end end
desc "Deploy token with write access" desc "Deploy key with write access"
condition(:push_code_deploy_key) do condition(:push_code_deploy_key) do
user.is_a?(DeployKey) && user.can_push_to?(project) user.is_a?(DeployKey) && user.can_push_to?(project)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment