laravel ACL with Jetstream

Job ID: 31562752

Budget: $10 – $30 USD

Hello
We have a Laravel project and we use Jetstream.
We create different roles (admin; users; staff)
each role should have a specific menu but we set "Blade directives" with "Spatie" and it's doesn't really work.
We tried with:
@role('admin')
@endrole

@role('users')
@endrole

@role('staff')
@endrole

In our database
Role 0 = Admin
Role 1 = Users
Role 2 = Staff

===

Then we have this link http://165.22.70.231/staff/list
And we need users can create his own users with role 2 (Staff)
I mean each users have his own staff.
also here we need to change this https://prnt.sc/1t09ljl should be the team's name from user created here https://prnt.sc/1t09ocl
That mean Users create other users but should have role 2 "staff" and should be follow a Team
Related categories: PHP Software Architecture MySQL HTML Laravel