Skip to main content

Roles and Permissions

FilamentFlow allows you to manage user roles and permissions to control access to your application. This is useful for controlling who can access certain parts of your application and what they can do.

Role and Permission Management

Since FilamentFlow exists so you can sell it as a SaaS application, the role and permission management is done by your Saas application users in the "app" panel and not in the "admin" panel.

By default, a Super Admin role is created when you install FilamentFlow. This role has full access to the application including the "admin" panel, and cannot be deleted, whereas other roles and permissions are created and managed by your Saas application users in the "app" panel.

Default Roles

FilamentFlow comes with a few default roles that are created when you install the package, which are defined as public constants in the app/Models/Auth/Role.php class.

These roles are:

  • Super Admin
  • Admin
  • User

More Information

For more information on how to manage roles and permissions in your application, see the Spatie Roles Permissions Documentation.