diff options
Diffstat (limited to 'httemplate/edit/process')
| -rw-r--r-- | httemplate/edit/process/access_group.html | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/edit/process/access_group.html b/httemplate/edit/process/access_group.html index c80311586..8b0df304a 100644 --- a/httemplate/edit/process/access_group.html +++ b/httemplate/edit/process/access_group.html @@ -1,3 +1,6 @@ +% if ( $conf->exists('disable_acl_changes') ) { +  ACL changes disabled in public demo. +% } else {  <% include( 'elements/process.html',                 'table'       => 'access_group',                 'viewall_dir' => 'browse', @@ -13,3 +16,12 @@                 },             )  %> +% } +<%init> + +die "access denied" +  unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +my $conf = new FS::Conf; + +</%init>  | 
