summaryrefslogtreecommitdiff
path: root/httemplate/edit/agent.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-11-13 02:22:04 +0000
committerivan <ivan>2008-11-13 02:22:04 +0000
commit8a00b4c10743a314f4a298879141b60d6096eb3b (patch)
tree69867a42784bed2688ae56af882e34524ea0fbc6 /httemplate/edit/agent.cgi
parent158129233ebfb53031315689f0b533fea407df09 (diff)
add ability to view/edit access groups of an agent
Diffstat (limited to 'httemplate/edit/agent.cgi')
-rwxr-xr-xhttemplate/edit/agent.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index 0c2520510..215542de3 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -77,6 +77,19 @@ Agent #<% $agent->agentnum ? $agent->agentnum : "(NEW)" %>
</TR>
% }
+ <TR>
+ <TD ALIGN="right">Access Groups</TD>
+ <TD><% include('/elements/checkboxes-table.html',
+ 'source_obj' => $agent,
+ 'link_table' => 'access_groupagent',
+ 'target_table' => 'access_group',
+ 'name_col' => 'groupname',
+ 'target_link' => $p. 'edit/access_group.html?',
+ )
+ %>
+ </TD>
+ </TR>
+
</TABLE>
<BR>