user_group station can now only access their own station

This commit is contained in:
2022-06-18 12:37:23 +02:00
parent 039e798b30
commit 32d8d5583e
9 changed files with 51 additions and 42 deletions

View File

@@ -2,7 +2,7 @@
session_start();
include("../scripts/connection.php");
include("../scripts/functions.php");
$user_data = check_login($con);
$user_data = check_admin($con);
if($_SERVER['REQUEST_METHOD'] == "GET") {
$row = get_team($con, $_GET['m_id'])->fetch();