-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BO - Signalement] Edition doc et etiquette pour les RT même si statut fermé #3705
[BO - Signalement] Edition doc et etiquette pour les RT même si statut fermé #3705
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test et relecture ok
if (Signalement::STATUS_CLOSED === $signalement->getStatut()) { | ||
$canEditClosedSignalement = $this->isGranted('ROLE_ADMIN') | ||
|| $this->isGranted('ROLE_ADMIN_TERRITORY'); | ||
if (Signalement::STATUS_CLOSED === $signalement->getStatut() && $this->isGranted('ROLE_ADMIN_TERRITORY')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quitte à faire ça, tout peut être mis sur la ligne de déclaration de ĉanEditClosedSignalement au-dessus :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
bf60efe
to
703c403
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK lecture et tests
Ticket
#3687
Description
Rendre possible pour les RT :
Changements apportés
Pré-requis
Tests