Removed many redundant functions from User::class
This commit is contained in:
@@ -26,7 +26,7 @@ class UserPolicy
|
||||
OR $uo->isWholesaler()
|
||||
|
||||
// The user is the reseller
|
||||
OR ($uo->all_clients()->pluck('id')->search($o->id) !== FALSE);
|
||||
OR $uo->isReseller();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user