mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-26 01:07:29 +02:00
Un encandrant peut encadrer plusieurs équipes
This commit is contained in:
@ -13,7 +13,7 @@ $team = $user->getRole() == Role::PARTICIPANT ? $_SESSION["team"] : Team::fromTr
|
||||
if ($team == null)
|
||||
require_once "server_files/404.php";
|
||||
|
||||
if ($team->getEncadrantId() != $user->getId() || $team->getValidationStatus() != ValidationStatus::VALIDATED)
|
||||
if ($user->getRole() == Role::ENCADRANT && $team->getEncadrantId() != $user->getId() || $team->getValidationStatus() != ValidationStatus::VALIDATED)
|
||||
require_once "server_files/403.php";
|
||||
|
||||
if (isset($_POST["upload_answer"])) {
|
||||
|
Reference in New Issue
Block a user