mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 05:44:04 +00:00
* Add `$forceRls` static property to tenants:rls * Set `$forceRls` in tests where scoping is tested, add non-superuser, non-bypassrls table owner test * Move DROP TABLE statement * Remove try/catch * Put DROP OWNED BY into try/catch * Static property cleanup in afterEach * Make with() matrix syntax more clear by using with() multiple times * Fix typo, improve comment * Move and update force RLS comment * Add test for `$forceRls = false`, refactor BYPASSRLS test * Update link in test comment * Add a dataset for `$forceRls` in the table owner test, fix BYPASSRLS test * Correct PR link comment * minor fixes * Add test that makes the bypassrls/forceRls behavior clear * Delete redundant test * cleanup * Update tests/RLS/TableManagerTest.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Samuel Štancl <samuel@archte.ch> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ClearPendingTenants.php | ||
| CreatePendingTenants.php | ||
| CreateUserWithRLSPolicies.php | ||
| Down.php | ||
| Install.php | ||
| Link.php | ||
| Migrate.php | ||
| MigrateFresh.php | ||
| MigrateFreshOverride.php | ||
| Rollback.php | ||
| Run.php | ||
| Seed.php | ||
| TenantDump.php | ||
| TenantList.php | ||
| Tinker.php | ||
| Up.php | ||