mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 18:22:23 +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
|
<?php
|
||||||
|
|
||||||
if ($team_data["validation_status"] == "WAITING") { ?>
|
if ($team_data["validation_status"] == "WAITING" && $_SESSION["role"] == "ADMIN") { ?>
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
<input type="submit" name="validate" value="Valider l'équipe" />
|
<input type="submit" name="validate" value="Valider l'équipe" />
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user