Commit d9046203 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove writing issues/notes from non-auth user abilities

parent 09cb2ba8
......@@ -30,7 +30,17 @@ class Ability
end
if project && project.public
public_project_rules
[
:read_project,
:read_wiki,
:read_issue,
:read_milestone,
:read_project_snippet,
:read_team_member,
:read_merge_request,
:read_note,
:download_code
]
else
[]
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