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

21 commits

Author SHA1 Message Date
lukinovec
34e8fb7fa9 Delete 'rls' test group 2023-08-07 10:44:58 +02:00
lukinovec
ad0a2e5f6f Use "RLS" instead of "Rls" 2023-08-07 10:44:48 +02:00
lukinovec
2a5683122e Add and test excluding models from discovery 2023-07-20 13:43:10 +02:00
lukinovec
30f4f430d5 Fix default permissions 2023-06-28 09:51:30 +02:00
lukinovec
a504a86789 Use specific default user permissions instead of granting all 2023-06-28 09:35:40 +02:00
lukinovec
66c2ac4fa4 Delete typo 2023-06-27 17:56:55 +02:00
lukinovec
d005e7b06d Test that tenant permmissions are scoped only to the tenant schema 2023-06-27 17:48:47 +02:00
lukinovec
eddb95c014 Use reflection instead of try/catch, use arrays instead of collections 2023-06-19 13:53:27 +02:00
lukinovec
6bd78b4520 Delete dump() 2023-06-15 13:52:18 +02:00
lukinovec
b0effa60e7 debug 2023-06-15 13:44:39 +02:00
lukinovec
9e9e81b69c debug 2023-06-15 13:28:17 +02:00
lukinovec
7b092ec9d3 Check RLS policies by name 2023-06-15 13:16:57 +02:00
lukinovec
0f9e0f33b0 Move Postgres user permissions to config 2023-06-15 13:03:44 +02:00
lukinovec
1ce18d2759 Add basic model discovery test 2023-06-15 11:45:38 +02:00
lukinovec
5cb3b5f4c1 Improve query scoping test 2023-06-15 11:07:31 +02:00
lukinovec
f859a5da06 Move RLS toggling and model directories config to tenancy.rls 2023-06-15 10:27:18 +02:00
lukinovec
741af3929c Add test for granting permissions to new Postgres users 2023-06-14 09:40:55 +02:00
lukinovec
fa43d8ae1d Rename RLSModel to RlsModel, fix global scope test 2023-06-07 13:55:43 +02:00
lukinovec
d0d38cef26 Update RLS tests (test both the config and the interface) 2023-06-07 09:41:22 +02:00
lukinovec
4175ac07bd Rework model discovery 2023-06-06 15:46:50 +02:00
lukinovec
7d44322b7e Rename test file, update tests 2023-06-05 16:35:50 +02:00
Renamed from tests/PostgresTest.php (Browse further)