Fonctionnalité #8584
[note] restreindre la note à la personne qui l'a créé mais également au service traitant
Description
en tant que dgs, je souhaite restreindre ma note au service concerné avec mon service par défaut.
En tant que DGS ou responsable courrier, j'ai un rôle de validateur. Lorsque je dois valider les courriers signalés, des notes sont ajoutés. Lorsque je fais ma note, ma note est restreinte à mon service courrier hors le courrier est attaché à un service traitant dédié.
En effet, dans mon profil de responsable, les annotations créés sont automatiquement restreintes à mon service.
Il serait intéressant que le responsable puisse ajouter des notes restreintes pour le service traitant attaché au courrier et non pas qu'à son service...
Demande de Gennevilliers
History
#2 Updated by Henri QUENEAU over 4 years ago
- File notes_ajax_content.php notes_ajax_content.php added
Test fait sur mon poste et ça marche:
$entitiesForRestriction = null;
if ($core_tools->test_service('notes_restriction', 'notes', false)) {
if (!empty($_SESSION['user']['entities'])) {
foreach ($_SESSION['user']['entities'] as $tmpEntity) {
//if($tmpEntity['ENTITY_ID'] == $_SESSION['user']['primaryentity']['id']){
$entitiesForRestriction[] = $tmpEntity['ENTITY_ID'];
//}
}
}
$entitiesForRestriction[] = $destination;
}
#3 Updated by Henri QUENEAU over 4 years ago
- Assignee deleted (
Henri QUENEAU)
#4 Updated by Emmanuel DILLARD over 4 years ago
- Tracker changed from Anomalie to Fonctionnalité
- Status changed from A traiter to Prêt à embarquer
#5 Updated by Emmanuel DILLARD over 4 years ago
- Target version deleted (
18.04)
#6 Updated by Emmanuel DILLARD over 4 years ago
- Target version set to 19.04 (Fin de vie)
- Tags Courrier deleted (
18.04.9)
#7 Updated by Damien BUREL about 4 years ago
- Project changed from Backlog to CURRENT SPRINT
- Status changed from Prêt à embarquer to En cours (Sprint)
- Assignee set to EDI PO
#8 Updated by Emmanuel DILLARD about 4 years ago
- Status changed from En cours (Sprint) to Développé / Analysé
#9 Updated by Emmanuel DILLARD about 4 years ago
- Project changed from CURRENT SPRINT to Backlog
#12 Updated by Emmanuel DILLARD almost 2 years ago
- Project changed from Backlog to Backlog Courrier
- Target version changed from 19.04 (Fin de vie) to 19.04 (Sécurité)