projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add dsl_device to track mac addresses, RT#13656
[freeside.git]
/
httemplate
/
edit
/
process
/
agent.cgi
diff --git
a/httemplate/edit/process/agent.cgi
b/httemplate/edit/process/agent.cgi
index
3cdf40c
..
e776d28
100755
(executable)
--- 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>