mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 07:04:03 +00:00
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>
This commit is contained in:
parent
34297d3e1a
commit
7317d2638a
39 changed files with 2511 additions and 112 deletions
|
|
@ -48,6 +48,14 @@ parameters:
|
|||
paths:
|
||||
- src/Controllers/TenantAssetController.php
|
||||
- '#expects int<1, max>, int given#'
|
||||
-
|
||||
message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:tenant\(\)#'
|
||||
paths:
|
||||
- src/RLS/PolicyManagers/TraitRLSManager.php
|
||||
-
|
||||
message: '#Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:getRelationshipToPrimaryModel\(\)#'
|
||||
paths:
|
||||
- src/RLS/PolicyManagers/TraitRLSManager.php
|
||||
|
||||
checkMissingIterableValueType: false
|
||||
checkGenericClassInNonGenericObjectType: false # later we may want to enable this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue