313fb9ffdf
PHP CS Fixer updated (3.63.1 -> v3.64.0)
2024-09-04 14:38:56 +02:00
d5e4991982
Rename WorkflowDocumentService to WorkflowStoredObjectPermissionHelper
...
The previous name, WorkflowDocumentService, was misleading as its functionality extends to all stored objects and not limited to documents. Therefore, it was renamed to WorkflowStoredObjectPermissionHelper. Consequently, all references to this service were updated throughout the codebase.
2024-07-16 13:24:45 +02:00
ca68b58246
Move classes to dedicated bundle, and avoid plural for namespace name
2024-07-15 21:22:31 +02:00
31f842471a
Refactor authorization for AccompanyingPeriodWorkEvaluationDocuments
...
The AccompanyingPeriodWorkEvaluationStoredObjectVoter has been updated to use the AccompanyingPeriodWorkEvaluationDocument-related classes instead of the AccompanyingPeriodWork classes. Additionally, a new voters class, AccompanyingPeriodWorkEvaluationDocumentVoter has been created. Changes are also made in the repository to find the associated entity in the AccompanyingPeriodWorkEvaluationDocument repository instead of the AccompanyingPeriodWork repository.
2024-07-15 21:22:30 +02:00
21b79c1981
Php cs fixes
2024-07-04 11:39:02 +02:00
fb743b522d
Remove implementation of StoredObjectInterface
2024-07-01 12:23:31 +02:00
e54633d14d
Implement voting logic: separation of concerns
...
A separate AccompanyingCourseDocumentStoredObjectVoter was\
created to handle the specific access to a Stored object\
related to an Accompanying Course Document.
2024-06-27 11:31:39 +02:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
2e60ba3137
Export: fix infinite loop in HouseholdVoter
2023-11-14 21:17:08 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
d2323e91ca
new cs rule: single_line_empty_body
...
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00
74ed34ba97
apply rules rector
2023-07-19 22:48:26 +02:00
224c2c74e8
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php80
...
Conflicts:
src/Bundle/ChillActivityBundle/Controller/ActivityController.php
src/Bundle/ChillActivityBundle/Export/Aggregator/ACPAggregators/DateAggregator.php
src/Bundle/ChillActivityBundle/Menu/PersonMenuBuilder.php
src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
src/Bundle/ChillActivityBundle/Service/DocGenerator/ActivityContext.php
src/Bundle/ChillCalendarBundle/Command/MapAndSubscribeUserCalendarCommand.php
src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraph/MSGraphUserRepository.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentAccompanyingCourseController.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php
src/Bundle/ChillDocStoreBundle/Repository/PersonDocumentACLAwareRepository.php
src/Bundle/ChillEventBundle/Search/EventSearch.php
src/Bundle/ChillMainBundle/Controller/ExportController.php
src/Bundle/ChillMainBundle/Controller/PermissionsGroupController.php
src/Bundle/ChillMainBundle/Cron/CronManager.php
src/Bundle/ChillMainBundle/Entity/CronJobExecution.php
src/Bundle/ChillMainBundle/Export/ExportManager.php
src/Bundle/ChillMainBundle/Form/Type/Export/PickCenterType.php
src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php
src/Bundle/ChillMainBundle/Repository/NotificationRepository.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelper.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperBuilder.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperFactory.php
src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseWorkController.php
src/Bundle/ChillPersonBundle/Controller/SocialWorkSocialActionApiController.php
src/Bundle/ChillPersonBundle/Export/Aggregator/PersonAggregators/AgeAggregator.php
src/Bundle/ChillPersonBundle/Export/Export/ListAccompanyingPeriod.php
src/Bundle/ChillPersonBundle/Export/Export/ListHouseholdInPeriod.php
src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php
src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodVoter.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/PersonContext.php
src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php
src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php
2023-07-17 12:49:13 +02:00
ff1629cbb7
Separate role "see confidential course" from "reassign bulk"
2023-07-05 22:06:21 +02:00
a7dbdc2b9d
FEATURE [voter][confidential] voter adapted. repository changes left to do
2023-07-03 13:35:34 +02:00
b3d993165d
FEATURE: [confidential][voter] bulk assign right should also give right to access confidential parcours
2023-07-03 13:35:34 +02:00
cc0e832cc9
FEATURE [voter][confidential] added right to see confidential periods
2023-07-03 13:35:33 +02:00
8b82e0c535
FIX [rights] user shouldn't be allowed to see accompanyingperiods from within household
2023-05-23 18:19:31 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
746ed4f5e5
DX: fix cs
2023-04-15 00:43:55 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +02:00
856eea37ee
DX: fix phpstan errors
2023-02-04 00:50:58 +01:00
e54c2ca712
Feature: Add a list export for evaluation, actions and household
2023-01-26 14:22:30 +00:00
b06a76784a
Feature: [person][creation] api for listing availables centers for person creation
2022-12-21 17:25:23 +01:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
b394d7247d
fix cs: too much line before declaring strict type
2022-10-06 08:55:32 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
a967e1ed17
fix cs
2022-10-05 15:23:28 +02:00
d716e0c2c2
add missing roles and adapt role voter for exports houshold and activity
2022-09-17 08:23:28 +02:00
78ea990189
allow voter to handle export about Accompanying periods on Center
2022-09-17 08:23:28 +02:00
1c92f58b3b
Merge branch 'tests/fixes-2022-09-05' into 111_exports_suite
2022-09-06 15:02:36 +02:00
75bdc335e5
remove usage of deprecated Role into Export
2022-09-05 17:26:36 +02:00
c442529799
fix cs
2022-09-05 14:49:07 +02:00
8fdb2747ac
Merge branch 'master' into social_action_exports
2022-07-28 15:45:46 +02:00
e323937405
Temporarily disable ACL on new exports
2022-07-14 10:26:26 +02:00
2f42b9411a
which acl is CONFIDENTIAL_CRUD ?
2022-07-13 14:19:12 +02:00
2ce145cace
wip.. setting acl for new accompanying course exports
2022-07-13 10:14:54 +02:00
28ed09b9d9
exports: add 2 new exports for accompanying courses
2022-07-12 15:18:37 +02:00
4ef48216ed
fixed: do not allow to create a course or see a houshold from the search result, if the user does not have any rights to do it
2022-07-11 13:54:12 +02:00
14341b9768
fix cs
2022-05-02 16:44:26 +02:00
ee14cd268b
add role to get acl on confidential periods
2022-05-02 16:44:02 +02:00
065b10b877
fix somes validation and acompanying period voter
2022-05-02 16:22:25 +02:00
372ec7c4b2
Merge remote-tracking branch 'origin/master' into issue534_bulk_reassign
2022-05-02 11:29:55 +02:00
9244040d7b
csfixes
2022-04-27 14:51:37 +02:00
2684345981
voter updates
2022-04-26 11:34:49 +02:00
92c04c545f
csfixes
2022-04-22 17:15:02 +02:00
f681e50167
role added to voter, but no check yet
2022-04-22 17:14:27 +02:00
ef84576903
fix merge conflict
2022-04-22 16:51:21 +02:00