mirror of
https://github.com/beestat/app.git
synced 2026-05-13 10:52:29 -04:00
Added new user to glenwood reporting access
This commit is contained in:
+1
-1
@@ -1199,7 +1199,7 @@ class runtime extends cora\api {
|
||||
* zone is not specified, UTC is assumed.
|
||||
*/
|
||||
public function download_glenwood_report($download_begin, $download_end) {
|
||||
$allowed_user_ids = [1, 39285];
|
||||
$allowed_user_ids = [1, 39285, 50885];
|
||||
$current_user_id = $this->session->get_user_id();
|
||||
if (!in_array($this->session->get_user_id(), $allowed_user_ids, true)) {
|
||||
throw new \Exception('Access restricted.', 10204);
|
||||
|
||||
Reference in New Issue
Block a user