We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 90ad7b3 + 532ec53 commit 8a615c2Copy full SHA for 8a615c2
Plugin.php
@@ -78,6 +78,7 @@ public function _init(): void
78
if($plugin::isEvaluationMethodValid($opportunity)
79
&& $opportunity->autopublishOpinions !== 'Sim'
80
&& !$opportunity->publishedOpinions
81
+ && $opportunity->canUser('@control')//Verifica a gestão
82
) {
83
$this->part('OpinionManagement/admin-btn-publish-opinions.php', ['opportunity' => $opportunity]);
84
}
0 commit comments