allow editing of pending aliases/implications
This commit is contained in:
@@ -222,4 +222,8 @@ class TagAlias < ActiveRecord::Base
|
||||
return true if is_pending? && user.id == creator_id
|
||||
return false
|
||||
end
|
||||
|
||||
def editable_by?(user)
|
||||
deletable_by?(user)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -211,4 +211,8 @@ class TagImplication < ActiveRecord::Base
|
||||
return true if is_pending? && user.id == creator_id
|
||||
return false
|
||||
end
|
||||
|
||||
def editable_by?(user)
|
||||
deletable_by?(user)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user