projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'freeside_2_1_0'.
[freeside.git]
/
httemplate
/
edit
/
process
/
access_group.html
diff --git
a/httemplate/edit/process/access_group.html
b/httemplate/edit/process/access_group.html
index
2d125c3
..
ab25cb3
100644
(file)
--- 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',
<% include( 'elements/process.html',
'table' => 'access_group',
'viewall_dir' => 'browse',
@@
-14,14
+17,12
@@
},
)
%>
},
)
%>
+% }
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
<%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";
-}
+my $conf = new FS::Conf;
</%init>
</%init>