Skip to content

Commit

Permalink
Add a scope cache warning for refreshFor (#621)
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Silber <[email protected]>
  • Loading branch information
grantholle and JosephSilber authored Feb 10, 2023
1 parent 4669911 commit 658a6e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ Alternatively, you can refresh the cache only for a specific user:
Bouncer::refreshFor($user);
```

> **Note**: When using [multi-tenancy scopes](#multi-tenancy), this will only refresh the cache for the user in the current scope's context. To clear cached data for the same user in a different scope context, it must be called from within that scope.
## Multi-tenancy

Bouncer fully supports multi-tenant apps, allowing you to seamlessly integrate Bouncer's roles and abilities for all tenants within the same app.
Expand Down

0 comments on commit 658a6e2

Please sign in to comment.