Commit Graph

13 Commits

Author SHA1 Message Date
062afd6695 Use service tags to inject all voters into StoredObjectVoter.php
Instead of manually injecting services into StoredObjectVoter\
config is added to automatically tag each service that implements\
StoredObjectVoterInterface.php
2024-06-27 11:31:39 +02:00
830dace1ba Rename voter.yaml file to security.yaml
For consistency with other bundles voters are\
registered under the security.yaml file.
2024-06-27 11:31:39 +02:00
a0fead48e1 Refactorize StoredObjectVoter.php
The StoredObjectVoter.php has been refactorized to handle context-specific voters.\
This way we can check if the context-specific voter should handle the authorization or not.\
If not, there is a simple fallback to check on the USER_ROLE.
2024-06-27 11:31:39 +02:00
f131572344 Remove references to old async upload bundle 2023-12-12 15:55:14 +01:00
28d09a8206 Add form and types to handle async files 2023-12-12 15:55:13 +01:00
nobohan
24794c1285 admin: document category menu 2022-05-06 16:28:37 +02:00
f6e667700e move twig function in runtime 2022-02-09 13:19:58 +01:00
0b5a0e65a8 ckeck document mime (TO BE CHECKED) 2022-02-02 16:53:13 +01:00
2af3de4f61 chill_document_edit_button: create new twig extension 2022-02-02 14:57:25 +01:00
250bd29ab3 add voter for documents 2021-11-04 23:40:30 +01:00
2e5c2de363 Documents can be added/viewed/edited for an accompanyingCourse + menu entry added 2021-09-14 15:44:06 +02:00
aad0d295ef services added to config files 2021-09-03 12:29:51 +02:00
eaa0ad925f fix folder name 2021-03-18 13:37:13 +01:00