hides the admin checkboxes in annotator when editing an existing annotation
This commit is contained in:
@@ -5,6 +5,6 @@ class Annotation < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
|
||||
def permissions
|
||||
{ update: [user_id], delete: [user_id] }
|
||||
{ update: [user_id], delete: [user_id], admin: [] }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user