d98229d8ed
minor fixes
2025-06-03 03:33:03 +02:00
lukinovec
f9f9e1814a
Merge branch 'master' into configurable-force-rls
2025-05-15 15:20:21 +02:00
lukinovec
707d5434f8
Correct PR link comment
2025-05-15 15:17:36 +02:00
lukinovec
588d1fcc0d
[4.x] Make TableRLSManager skip foreign keys with 'no-rls' comment right away ( #1352 )
...
* When a foreign key has no-rls comment (or no comment when scopeByDefault is false), skip path generation earlier
* Fix column definitions
2025-05-15 14:54:04 +02:00
lukinovec
c9de955c88
Add a dataset for $forceRls in the table owner test, fix BYPASSRLS test
2025-03-19 13:45:27 +01:00
8960a83047
[4.x] Laravel 12 support ( #1321 )
...
* Add Laravel 12 support, drop Laravel 11 support
* Fix RLS tree generation (specify schema name in generateTrees())
* ci fixes, use stable virtualcolumn version
---------
Co-authored-by: lukinovec <lukinovec@gmail.com>
2025-02-25 16:26:18 +01:00
lukinovec
e4a32e17b7
Update link in test comment
2025-02-05 10:21:20 +01:00
lukinovec
d531c972b6
Add test for $forceRls = false, refactor BYPASSRLS test
2025-02-05 10:08:55 +01:00
lukinovec
cf8546fe84
Fix typo, improve comment
2025-01-14 16:05:28 +01:00
lukinovec
a5c79d49c3
Static property cleanup in afterEach
2025-01-14 15:51:48 +01:00
lukinovec
f836610819
Put DROP OWNED BY into try/catch
2025-01-14 15:32:36 +01:00
lukinovec
387c5ce1ae
Remove try/catch
2025-01-14 15:22:17 +01:00
lukinovec
c03ab7937b
Move DROP TABLE statement
2025-01-14 15:10:51 +01:00
lukinovec
1ea1dff504
Set $forceRls in tests where scoping is tested, add non-superuser, non-bypassrls table owner test
2025-01-14 13:15:50 +01:00
lukinovec
6b74589d76
Update specific attributes of pending tenants while they're being pulled ( #59 )
...
* Add option to update attributes of pending tenants while pulling them
* Fix failing toEqualCanonicalizing tests
* Fix code style (php-cs-fixer)
* fix code errors
* lock phpcsfixer to 3.62.0 due to a bug in 3.63.1
---------
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
Co-authored-by: Samuel Štancl <samuel@archte.ch>
2024-08-28 00:41:16 +02:00
Samuel Štancl
7317d2638a
Postgres RLS + permission controlled database managers ( #33 )
...
This PR adds Postgres RLS (trait manager + table manager approach) and permission controlled managers for PostgreSQL.
---------
Co-authored-by: lukinovec <lukinovec@gmail.com>
Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-04-24 22:32:49 +02:00