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
6998043159
Fixed: do not allow to create activities when no rights to do it
...
The ACTIVITY_FULL role does not give anymore the roles
CHILL_ACTIVITY_CREATE_PERSON and CHILL_ACTIVITY_CREATE_ACCOMPANYING_COURSE.
Tags: #BC
2022-07-11 19:31:24 +02:00
93560a62ef
Feature: an activity has the same scope as an accompanying period, if it exists
2022-07-11 17:36:59 +02:00
nobohan
9978e76a87
fix activity rights (WIP)
2022-07-07 15:25:17 +02:00
Pol Dellaiera
8401ce2656
cs: Fix code-style (using PHPCSFixer and PHPCS).
2021-12-21 10:59:23 +01:00
97165c8389
activity: set ACL (issue 292)
...
https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/292
2021-12-10 10:35:37 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers.
2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places.
2021-11-30 13:33:18 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
Pol Dellaiera
9c167df78a
sa: Fix SA issues.
2021-11-23 12:49:20 +01:00
Pol Dellaiera
328b4c4596
fix: Strict types interfaces: VoterHelperInterface
, ProvideRoleHierarchyInterface
and ProvideRoleInterface
.
2021-11-23 10:40:34 +01:00
05dda33a7a
Activity: fixes in voter
...
* the role CREATE is now transformed to CREATE_ACCOMPANYING_COURSE or
CREATE_PERSON when the subject is, respectively, a course or a person;
* the button at the list of activities is now labeled "create"
* the role FULL give access to both role
acTIVITY_CREATE_ACCOMPANYING_COURSE and ACTIVITY_CREATE_PERSON, but not
ACTIVITY_CREATE directly.
2021-11-23 09:06:05 +01:00
0867965d9c
Minor fixes for closing accompanying course:
...
* check that transition can be applyied in menu;
* change organisation for activityVoter, and check for authorization in
Activity Controller
* fix label 'create' in accompanying course document
* minor fix in accompanying course document voter
* change color when course is closed and show old user, and startdate /
enddate
2021-11-22 20:24:08 +01:00
2c74e268d3
voter fixes
2021-11-22 10:19:14 +01:00
f145d6c921
voters adjusted
2021-11-19 12:43:14 +01:00
120f7d8026
upgrade voter and acl for activities and implement autoconfiguration for
...
ChillProvideRole interface
2021-09-20 13:56:44 +02:00
6d42196093
Prepare for moving into monorepo
2021-03-18 12:46:39 +01:00