Commit d9543015 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Allow isadmin and studly users to access summary stats page, so Eric

can view them.
parent 1355d215
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
......@@ -17,10 +17,9 @@ PAGEHEADER("Testbed Summary Stats");
$uid = GETLOGIN();
$isadmin = ISADMIN($uid);
# Summary data for admins only.
if (!$isadmin) {
if (!ISADMIN() && !STUDLY()) {
USERERROR("You are not allowed to view this page!", 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment