summaryrefslogtreecommitdiff
path: root/httemplate/edit/access_group.html
diff options
context:
space:
mode:
authorivan <ivan>2011-09-22 22:09:49 +0000
committerivan <ivan>2011-09-22 22:09:49 +0000
commit91ffcc0ecc1e1da51fa4b99a342691caa85a5992 (patch)
tree4f2698dc92a432469b2d12d0c9dd935c47d9fb8f /httemplate/edit/access_group.html
parent1c4910d0047029e0cee65a658e5090096d548d8a (diff)
random cleanups
Diffstat (limited to 'httemplate/edit/access_group.html')
-rw-r--r--httemplate/edit/access_group.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/access_group.html b/httemplate/edit/access_group.html
index 1eed26dfe..b5757afca 100644
--- a/httemplate/edit/access_group.html
+++ b/httemplate/edit/access_group.html
@@ -18,6 +18,9 @@ tie my %rights, 'Tie::IxHash', FS::AccessRight->rights_info;
</%once>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
my $html_bottom_sub = sub {
my $access_group = shift;