allows not-logged-in users to read existing annotations
This commit is contained in:
@@ -40,7 +40,8 @@ module Abilities
|
||||
can :vote_featured, Proposal
|
||||
end
|
||||
|
||||
can :manage, Annotation
|
||||
can :create, Annotation
|
||||
can [:update, :delete], Annotation, user_id: user.id
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user