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