1
0
mirror of https://github.com/beestat/app.git synced 2026-01-07 04:30:36 -05:00

Added new user to glenwood reporting

This commit is contained in:
Jon Ziebell 2025-11-16 08:41:57 -05:00
parent b1da4938f0
commit 82bc8aef2f
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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')