diff --git a/api/runtime.php b/api/runtime.php index b7ad9f0..b3fc9f6 100644 --- a/api/runtime.php +++ b/api/runtime.php @@ -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, 50885]; + $allowed_user_ids = [1, 39285, 50885, 51345]; $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); diff --git a/js/component/header.js b/js/component/header.js index ae8db82..8b63afa 100644 --- a/js/component/header.js +++ b/js/component/header.js @@ -447,7 +447,7 @@ beestat.component.header.prototype.decorate_menu_ = function(parent) { // Show this if you're one of a few select users const user = beestat.user.get(); - const glenwood_report_user_ids = [1, 39285, 50885]; + const glenwood_report_user_ids = [1, 39285, 50885, 51345]; if (glenwood_report_user_ids.includes(user.user_id)) { menu.add_menu_item(new beestat.component.menu_item() .set_text('Glenwood Report')