Jigar D
Tenancy Check in Model Policy
My Policy has the following code:
Is this the correct way?
I am using PrivateChannel for Broadcasting and Authorization is failing because.
/broadcasting/auth
isn't aware of the tenant.
Authorization callback does a check if user can view model $user->can('view', Model::find($id));
Any solution to make this work?2 replies