PHP CS Fixer
|
033f9a4dca
|
Fix code style (php-cs-fixer)
|
2023-06-19 13:26:02 +00:00 |
|
lukinovec
|
9262d95ce4
|
Revert try/catch removal, add/update comments
|
2023-06-19 15:24:39 +02:00 |
|
lukinovec
|
376f7ba0b0
|
Fix variable name
|
2023-06-19 14:09:40 +02:00 |
|
lukinovec
|
171b01ba9d
|
Fix PHPStan error, update variable names
|
2023-06-19 14:02:18 +02:00 |
|
PHP CS Fixer
|
032e29ac79
|
Fix code style (php-cs-fixer)
|
2023-06-19 11:55:44 +00:00 |
|
lukinovec
|
42b7ab2bd6
|
Make tenancy.token config call in the Sevice class default to an empty string
|
2023-06-19 13:55:16 +02:00 |
|
lukinovec
|
eddb95c014
|
Use reflection instead of try/catch, use arrays instead of collections
|
2023-06-19 13:53:27 +02:00 |
|
lukinovec
|
8d13ce7e2f
|
Add/update comments
|
2023-06-19 12:57:16 +02:00 |
|
lukinovec
|
1fd1aa7ad6
|
Delete dump, use getTenantModels
|
2023-06-16 11:08:07 +02:00 |
|
lukinovec
|
89d9e20c38
|
Dump dropped policies
|
2023-06-16 10:47:35 +02:00 |
|
lukinovec
|
43d167bb48
|
Comment out dropping policies
|
2023-06-16 10:35:44 +02:00 |
|
lukinovec
|
c25aa221cb
|
Drop policy if exists
|
2023-06-16 10:31:55 +02:00 |
|
lukinovec
|
46b89fd0ec
|
Delete dump, put getModels into transaction
|
2023-06-16 10:26:15 +02:00 |
|
lukinovec
|
bd7f885c23
|
Delete dump
|
2023-06-16 10:22:15 +02:00 |
|
lukinovec
|
a9b8f1a299
|
move dump
|
2023-06-16 10:04:51 +02:00 |
|
lukinovec
|
eb5829175e
|
Test if the db statement is incorrect
|
2023-06-16 09:57:58 +02:00 |
|
lukinovec
|
92ed22ef19
|
Query log
|
2023-06-16 09:41:09 +02:00 |
|
lukinovec
|
9aee480a80
|
Dump DB statement
|
2023-06-16 09:33:55 +02:00 |
|
lukinovec
|
796a251b7d
|
Check RLS tables
|
2023-06-16 09:28:38 +02:00 |
|
lukinovec
|
e024701ab9
|
Try using getModels() outside of DB::transaction()
|
2023-06-16 09:20:49 +02:00 |
|
lukinovec
|
1fb90129cf
|
Revert CI testing changes
|
2023-06-16 08:42:36 +02:00 |
|
lukinovec
|
8b8cd00ca8
|
CI testing
|
2023-06-16 08:38:16 +02:00 |
|
lukinovec
|
1f5ed5ba22
|
Use getModels (testing CI)
|
2023-06-16 08:37:31 +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
|
8c87dde85d
|
Use getTenantModels instead of getModels in RLS poilcy creation command
|
2023-06-15 13:44:31 +02:00 |
|
lukinovec
|
f0b31d1820
|
debug
|
2023-06-15 13:36:26 +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
|
e8b3c23c72
|
Purge central connection in RLS bootstrapper's bootstrap()
|
2023-06-15 11:06:57 +02:00 |
|
lukinovec
|
f859a5da06
|
Move RLS toggling and model directories config to tenancy.rls
|
2023-06-15 10:27:18 +02:00 |
|
lukinovec
|
6b19a26d2c
|
Automatically scan subdirectories in getModels()
|
2023-06-15 10:20:18 +02:00 |
|
PHP CS Fixer
|
37b36430e5
|
Fix code style (php-cs-fixer)
|
2023-06-15 07:33:39 +00:00 |
|
lukinovec
|
7d77c171d5
|
Delete unused method
|
2023-06-15 09:33:05 +02:00 |
|
lukinovec
|
97f227a037
|
Use instanceof instead of class_parents()
|
2023-06-15 09:32:56 +02:00 |
|
lukinovec
|
00af2d6eaf
|
Check for class traits instead of the DB columns
|
2023-06-15 09:32:25 +02:00 |
|
lukinovec
|
741af3929c
|
Add test for granting permissions to new Postgres users
|
2023-06-14 09:40:55 +02:00 |
|
lukinovec
|
c31340bff0
|
Only grant the permissions from the static property in the user creation job
|
2023-06-14 08:30:33 +02:00 |
|
lukinovec
|
73144a874a
|
Use new static instead of checking class_implements()
|
2023-06-14 08:27:40 +02:00 |
|
PHP CS Fixer
|
f0faf41522
|
Fix code style (php-cs-fixer)
|
2023-06-07 13:01:53 +00:00 |
|
lukinovec
|
ac00f03273
|
Move model-related things from Tenancy to a trait
|
2023-06-07 14:45:36 +02:00 |
|
PHP CS Fixer
|
a5a9f1431e
|
Fix code style (php-cs-fixer)
|
2023-06-07 11:59:10 +00:00 |
|
lukinovec
|
b7c24ef4ab
|
Rename RLSModel
|
2023-06-07 13:58:47 +02:00 |
|
PHP CS Fixer
|
f37a29f592
|
Fix code style (php-cs-fixer)
|
2023-06-07 11:56:08 +00:00 |
|
lukinovec
|
fa43d8ae1d
|
Rename RLSModel to RlsModel, fix global scope test
|
2023-06-07 13:55:43 +02:00 |
|
lukinovec
|
f84e3ffc02
|
Put DB statements into transaction
|
2023-06-07 11:00:28 +02:00 |
|
lukinovec
|
6bd23d5e3e
|
Simplify CreateRLSPoliciesForTenantTables
|
2023-06-07 10:03:53 +02:00 |
|