diff --git a/api/runtime.php b/api/runtime.php index a13587c..b2e6869 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]; + $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); diff --git a/js/component/header.js b/js/component/header.js index ea1b537..ae8db82 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]; + const glenwood_report_user_ids = [1, 39285, 50885]; if (glenwood_report_user_ids.includes(user.user_id)) { menu.add_menu_item(new beestat.component.menu_item() .set_text('Glenwood Report')