mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
This validator allow to check that the entity is consistent between user associated with the entity, and the scope. The entity is consistent if the user associated can reach the scope for the ROLE "SEE/SHOW". This is a Constraint with scope Class. Example of utilisation: ``` @UserCircleConsistency( * "CHILL_TASK_TASK_SEE", * getUserFunction="getAssignee", * path="circle" * ) class MyEntity { // ... public function getAssignee() { // return user } } ```
ChillMain
An app for social-profit organisations
Documentation & installation
Read documentation here : http://chill.readthedocs.org
Languages
PHP
77.3%
Twig
10.4%
Vue
7.4%
JavaScript
3.1%
TypeScript
1%
Other
0.8%