1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 09:24:02 +00:00
Commit graph

11 commits

Author SHA1 Message Date
lukinovec
c867ecec44 Update the tree terminology 2025-05-29 13:06:54 +02:00
lukinovec
1bfac014ab Test uncovered edge cases 2025-05-29 12:51:36 +02:00
lukinovec
a3b925b362 Refactor TableRLSManagerr (dynamic programming, deal with recursive relationships, determine shortest paths while generating the paths) 2025-05-28 15:56:25 +02:00
lukinovec
640ba9e7f1 Correct terminology, add test for throwing exceptions 2025-05-21 14:03:51 +02:00
lukinovec
349ac6e9fc Simplify and clarify comment-related TableRLSManager code 2025-05-21 14:03:51 +02:00
lukinovec
f65c64c9c7 Correct comment functionality, add comment constraint exception 2025-05-21 14:03:51 +02:00
lukinovec
c80b28cf00 Add option to provide constraint information in column comment 2025-05-20 13:58:33 +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
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
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