Answers for "instalar laravel permissions"

PHP
2

laravel folder permission

sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Posted by: Guest on September-09-2020
0

Laravel permission

protected $routeMiddleware = [
    // ...
    'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class,
    'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
    'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class,
];
Posted by: Guest on July-19-2021

Browse Popular Code Answers by Language