You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($userid != $created_by) { // We're dealing with a Club Member/Member ADIF or Clubofficer
133
+
if ((($club_perm ?? 0) == 3) || (($club_perm ?? 0) == 6)) { // Member or ADIF-Member? DENY
134
+
$this->output->set_status_header(401)->set_content_type('application/json')->set_output(json_encode(['status' => 'error', 'message' => 'Auth Error, not enough grants for this operation']));
135
+
return;
136
+
}
137
+
}
138
+
126
139
try {
127
140
$raw = file_get_contents("php://input");
128
141
if ($raw === false) {
@@ -149,8 +162,7 @@ function create_station($key = '') {
0 commit comments