mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
Seuls les organisateurs nationaux peuvent valider des équipes
This commit is contained in:
parent
8590d8f730
commit
2ce1f83873
@ -74,7 +74,7 @@ while (($data = $documents_req->fetch()) !== false) {
|
||||
|
||||
<?php
|
||||
|
||||
if ($team_data["validation_status"] == "WAITING") { ?>
|
||||
if ($team_data["validation_status"] == "WAITING" && $_SESSION["role"] == "ADMIN") { ?>
|
||||
<form method="POST">
|
||||
<input type="submit" name="validate" value="Valider l'équipe" />
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user