summaryrefslogtreecommitdiff
path: root/httemplate/browse/radius_group.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse/radius_group.html')
-rw-r--r--httemplate/browse/radius_group.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/httemplate/browse/radius_group.html b/httemplate/browse/radius_group.html
new file mode 100644
index 000000000..e2ac56363
--- /dev/null
+++ b/httemplate/browse/radius_group.html
@@ -0,0 +1,24 @@
+<& elements/browse.html,
+ 'title' => 'RADIUS Groups',
+ 'name' => 'RADIUS Groups',
+ 'menubar' => [ 'Add a RADIUS Group' => $p.'edit/radius_group.html', ],
+ 'query' => { 'table' => 'radius_group' },
+ 'count_query' => 'SELECT COUNT(*) FROM radius_group',
+ 'header' => [ '#', 'RADIUS Group', 'Description' ],
+ 'fields' => [ 'groupnum',
+ 'groupname',
+ 'description',
+ ],
+ 'links' => [ [ $p.'edit/radius_group.html?', 'groupnum' ],
+ '',
+ '',
+ ],
+&>
+<%init>
+
+my $curuser = $FS::CurrentUser::CurrentUser;
+
+die "access denied"
+ unless $curuser->access_right('Configuration');
+
+</%init>