mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-09-01 08:17:00 +02:00
Added a possibility to restrict the access to certain entity columns.
This commit is contained in:
parent
f31336bb87
commit
47fe76b22e
8 changed files with 271 additions and 1 deletions
|
@ -28,5 +28,12 @@ services:
|
|||
resource: '../src/Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
app.doctrine.elementListener:
|
||||
class: App\Security\EntityListeners\ElementPermissionListener
|
||||
public: false
|
||||
autowire: true
|
||||
tags:
|
||||
- { name: "doctrine.orm.entity_listener" }
|
||||
|
||||
# add more service definitions when explicit configuration is needed
|
||||
# please note that last definitions always *replace* previous ones
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue