Fix ability name for public or internal personal snippets

parent 93672c50
...@@ -325,7 +325,7 @@ class Ability ...@@ -325,7 +325,7 @@ class Ability
end end
if snippet.public? || snippet.internal? if snippet.public? || snippet.internal?
rules.push(:read_snippet) rules.push(:read_personal_snippet)
end end
rules rules
......
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