Allow boosting own private toots (#6157)
* Adjust policy to allow boosting own private toots * Add ability to reblog private toots from dropdown menu
This commit is contained in:
parent
11715454d0
commit
e5dd385431
3 changed files with 9 additions and 1 deletions
|
@ -16,7 +16,7 @@ class StatusPolicy < ApplicationPolicy
|
|||
end
|
||||
|
||||
def reblog?
|
||||
!direct? && !private? && show?
|
||||
!direct? && (!private? || owned?) && show?
|
||||
end
|
||||
|
||||
def destroy?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue