X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Faccess_group.html;h=2d125c3875d7b1208e2c0255942be40192d1e5cb;hb=0353e495131736a7c03d87b4d8c1d500cb96b863;hp=581b50f9e69ff14e9b3b5d254a714a9fc4be8328;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/httemplate/edit/process/access_group.html b/httemplate/edit/process/access_group.html index 581b50f9e..2d125c387 100644 --- a/httemplate/edit/process/access_group.html +++ b/httemplate/edit/process/access_group.html @@ -14,3 +14,14 @@ }, ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +if ( FS::Conf->new->exists('disable_acl_changes') ) { + errorpage('ACL changes disabled in public demo.'); + die "shouldn't be reached"; +} + +