Core Concepts

Roles and Permissions

Conduit comes with a robust Roles and Permissions system built by Spatie that allows you to control access to your application's features. For any further customizations, you can refer to the Spatie's documentation.

Seeding

You may seed any new Roles and Permissions by using Conduit's seed command:

    
1php artisan conduit:permissions

Also, permissions and roles are automatically seeded with the conduit:deploy and conduit:install commands.

Bundled Roles

Conduit comes with 3 Roles with varying degrees of attached Permissions. They are;

  • Super Admin - Has all permissions and can do anything.
  • Admin - Has all permissions except for the ability to manage roles and permissions.
  • User - Has no starting permissions, this should be the default role for your users/customers. It is important to note that this role should not be able to access the Filament dashboard.

These roles and permissions are compatible out of the box with Autoload. You can create additional roles and permissions as needed.

Previous
Orders
Code highlighting provided by Torchlight