diff options
author | ivan <ivan> | 2010-06-06 06:29:36 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-06-06 06:29:36 +0000 |
commit | 42ad860da02665aa21193d3bc418ef03e96727fb (patch) | |
tree | febd788bbffe53f2f7bcb63fa0a351044ab670cd /httemplate/edit/process/agent.cgi | |
parent | b7c723f64f35ad8049fc6605437a17b262b0d17c (diff) |
webdemo UI
Diffstat (limited to 'httemplate/edit/process/agent.cgi')
-rwxr-xr-x | httemplate/edit/process/agent.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/process/agent.cgi b/httemplate/edit/process/agent.cgi index 3cdf40c9b..e776d281c 100755 --- a/httemplate/edit/process/agent.cgi +++ b/httemplate/edit/process/agent.cgi @@ -13,4 +13,9 @@ 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"; +} + </%init> |