FIX: make can_invite_to_forum robust against plugin interference (#9644)
This commit is contained in:
parent
97657aa322
commit
15a938e861
|
@ -123,7 +123,7 @@ class CurrentUserSerializer < BasicUserSerializer
|
|||
end
|
||||
|
||||
def can_invite_to_forum
|
||||
true
|
||||
scope.can_invite_to_forum?
|
||||
end
|
||||
|
||||
def include_can_invite_to_forum?
|
||||
|
|
Loading…
Reference in New Issue