WIP
This commit is contained in:
1 parent
c46eccb24f
commit
5337d2a804
1 file changed
+1
-1
@@ -139,7 +139,7 @@ public function boot(): void
|
||||
Gate::define('isVendor', fn ($user) => $user->hasRole('vendor'));
|
||||
|
||||
Gate::define('viewApiDocs', function (User $user) {
|
||||
return in_array($user->email, ['nurmuhammet@mail.com']);
|
||||
return in_array($user->email, ['nurmuhammet@mail.com', 'admin@shop.post.tm']);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user