Skip to content
Discussion options

You must be logged in to vote

First, the organisation_id seems like team_id feature

'team_foreign_key' => 'team_id',

seems that the cache only store one role at a time because the name is the same

Second, the name can be the same if you use the teams feature; Otherwise it could be prone to failure.

But if you think it's an issue, make a demo app to check
https://spatie.be/docs/laravel-permission/v5/basic-usage/new-app#content-creating-a-demo-app

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Naghal
Comment options

@erikn69
Comment options

@Naghal
Comment options

Answer selected by Naghal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants