summaryrefslogtreecommitdiff
path: root/httemplate/edit/access_group.html
diff options
context:
space:
mode:
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;