"Allow",
2 => "Deny");
if (!empty($_GET["id"])) {
$policy = db_fetch_row("select policy_graphs,policy_trees,policy_hosts,policy_graph_templates from user_auth where id=" . $_GET["id"]);
$header_label = "[edit: " . db_fetch_cell("select username from user_auth where id=" . $_GET["id"]) . "]";
}
/* draw user admin nav tabs */
draw_user_form_tabs();
?>
Graph policies will be evaluated in the order shown until a match is found.
Graph Permissions", "98%", $colors["header"], "3", "center", "");
$graphs = db_fetch_assoc("select
graph_templates_graph.local_graph_id,
graph_templates_graph.title_cache
from graph_templates_graph
left join user_auth_perms on (graph_templates_graph.local_graph_id=user_auth_perms.item_id and user_auth_perms.type=1)
where graph_templates_graph.local_graph_id > 0
and user_auth_perms.user_id=" . (empty($_GET["id"]) ? "0" : $_GET["id"]) . "
order by graph_templates_graph.title_cache");
?>