# Admin Policy

# Access by Permission on controller

You can use policy to protect admin from doing unauthorized stuffs Like in any controller you can check


 


...
$this->authorize('CreateRole', Admin::class);
...
1
2
3