Have you read the section on teams permissions.
https://spatie.be/docs/laravel-permission/v5/basic-usage/teams-permissions
Its not very clear...
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello Folks, I am creating one multi-tenant app in Laravel with Single Database and thinking to use laravel-permission package by spatie.
My Requirement is pretty straightforward, I want my tenants to create their own Roles, whereas permissions will be managed by Super Admin only.
My problem is when I was trying using, It worked for 1st client but 2nd time it gives error:
A role `Admin` already exists for guard `admin`.
As I mentioned client can create roles, so they can create duplicate roles.
Please recommend better approach or package or should I try writing custom code.
Any help appreciated!
Please or to participate in this conversation.