1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 12:44:02 +00:00
Commit graph

11 commits

Author SHA1 Message Date
925e83afe3 Add a dataset for $forceRls in the table owner test, fix BYPASSRLS test 2025-03-19 13:41:08 +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