projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rounding error in CCH tax appropriation, RT#41610
[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
9bb9d1d
..
2d125c3
100644
(file)
--- a/
httemplate/edit/process/access_group.html
+++ b/
httemplate/edit/process/access_group.html
@@
-1,4
+1,4
@@
-<%
=
include( 'elements/process.html',
+<% include( 'elements/process.html',
'table' => 'access_group',
'viewall_dir' => 'browse',
'process_m2m' => { 'link_table' => 'access_groupagent',
'table' => 'access_group',
'viewall_dir' => 'browse',
'process_m2m' => { 'link_table' => 'access_groupagent',
@@
-10,6
+10,18
@@
'num_col' => 'rightobjnum',
'name_col' => 'rightname',
'names_list' => [ FS::AccessRight->rights() ],
'num_col' => 'rightobjnum',
'name_col' => 'rightname',
'names_list' => [ FS::AccessRight->rights() ],
+ 'param_style' => 'link_table.value checkboxes',
},
)
%>
},
)
%>
+<%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";
+}
+
+</%init>