status edit policy
This commit is contained in:
parent
4ef6af99ee
commit
159193bbf5
|
@ -36,7 +36,7 @@ class StatusPolicy < ApplicationPolicy
|
|||
alias unreblog? destroy?
|
||||
|
||||
def update?
|
||||
staff?
|
||||
staff? || owned?
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue