mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:34:03 +00:00
Complete todo cleanup
This commit is contained in:
parent
5aed290de6
commit
d60062131a
1 changed files with 0 additions and 2 deletions
|
|
@ -157,8 +157,6 @@ test('queries are correctly scoped using RLS', function() {
|
||||||
|
|
||||||
tenancy()->end();
|
tenancy()->end();
|
||||||
|
|
||||||
// todo1 Add option to disable the global scopes that the BelongsToTenant trait adds to the models, make RLS scope the queries
|
|
||||||
// Ensure RLS scopes the queries – expect that tenants cannot access the records (posts and comments) of other tenants
|
|
||||||
tenancy()->initialize($tenant);
|
tenancy()->initialize($tenant);
|
||||||
|
|
||||||
expect(Post::all()->pluck('text'))
|
expect(Post::all()->pluck('text'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue