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
|
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
|
6bd23d5e3e
|
Simplify CreateRLSPoliciesForTenantTables
|
2023-06-07 10:03:53 +02:00 |
|
PHP CS Fixer
|
3bfef9e2c4
|
Fix code style (php-cs-fixer)
|
2023-06-05 14:36:19 +00:00 |
|
lukinovec
|
cc28d1813a
|
Move reusable methods to Tenancy, get rid of tenancy.models.rls
|
2023-06-05 16:35:16 +02:00 |
|
lukinovec
|
cb775a9fba
|
Improve RLS policy creation command
|
2023-06-05 13:43:21 +02:00 |
|
PHP CS Fixer
|
9f166a59a4
|
Fix code style (php-cs-fixer)
|
2023-06-05 10:04:15 +00:00 |
|
lukinovec
|
983e4c1f84
|
Get RLS models from a temporary tenant
|
2023-06-05 12:03:48 +02:00 |
|
lukinovec
|
ac6bf3651a
|
Delete redundant str($x)->toString()
|
2023-05-31 13:33:37 +02:00 |
|
lukinovec
|
61519ecec3
|
Wrap makeModelUseRls() in transaction
|
2023-05-31 07:53:21 +02:00 |
|
lukinovec
|
3ef1c38414
|
Delete single-call DB transactions
|
2023-05-31 07:38:43 +02:00 |
|
lukinovec
|
ea9690f915
|
Handle phpstan errors
|
2023-05-24 14:47:17 +02:00 |
|
lukinovec
|
ae568e1227
|
Reduce nesting, rename methods
|
2023-05-24 14:29:30 +02:00 |
|
PHP CS Fixer
|
526002c7b2
|
Fix code style (php-cs-fixer)
|
2023-05-24 10:59:36 +00:00 |
|
lukinovec
|
0a6c1b69ea
|
Update RLS policy command (use DB transactions, improve nesting)
|
2023-05-24 12:59:12 +02:00 |
|
lukinovec
|
253061730e
|
Remove UUID constraint from RLS policy
|
2023-05-10 12:48:06 +02:00 |
|
lukinovec
|
17d779e130
|
Scope queries using Postgres RLS (WIP)
|
2023-05-09 16:07:06 +02:00 |
|
lukinovec
|
9ad183d296
|
Use tenantKeyColumn() instead of the config
|
2023-04-28 14:27:55 +02:00 |
|
PHP CS Fixer
|
483630897e
|
Fix code style (php-cs-fixer)
|
2023-04-27 11:48:25 +00:00 |
|
lukinovec
|
2745f824aa
|
Fix command
|
2023-04-27 13:44:45 +02:00 |
|
lukinovec
|
9226a1ec6c
|
Fix syntax error
|
2023-04-26 12:48:04 +02:00 |
|
lukinovec
|
44acaadb6e
|
Improve command for creating RLS policies
|
2023-04-26 12:43:45 +02:00 |
|
lukinovec
|
2d75f185b8
|
Use Schema::getAllTables() instead of the migration file names
|
2023-04-24 11:10:06 +02:00 |
|
lukinovec
|
91936bc5ab
|
Fix PHPStan error
|
2023-04-21 15:36:00 +02:00 |
|
lukinovec
|
0bf464b80d
|
Filter migration files in create RLS policies command
|
2023-04-21 15:32:08 +02:00 |
|
lukinovec
|
26eafd30ba
|
Fix PHPStan error
|
2023-02-13 15:42:46 +01:00 |
|
lukinovec
|
d4025fb886
|
Fix PHPStan error
|
2023-02-13 15:36:23 +01:00 |
|
PHP CS Fixer
|
e3e85b3ffa
|
Fix code style (php-cs-fixer)
|
2023-02-13 14:32:50 +00:00 |
|
lukinovec
|
5469358e95
|
Add command for creating RLS policies for tenant tables
|
2023-02-13 15:32:13 +01:00 |
|