Initial rbac;

This commit is contained in:
c.girardi
2024-02-17 16:49:01 +01:00
parent f0746b67f5
commit 79dbeb21ac
21 changed files with 1016 additions and 16 deletions

View File

@@ -9,6 +9,12 @@ use Illuminate\Http\Request;
class WordsController extends Controller
{
public function __construct()
{
$this->middleware('role:ADMIN');
}
public function index()
{
return view('words.index', [