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_user.html
diff --git
a/httemplate/edit/process/access_user.html
b/httemplate/edit/process/access_user.html
index
ebbcdca
..
ca6bb60
100644
(file)
--- a/
httemplate/edit/process/access_user.html
+++ b/
httemplate/edit/process/access_user.html
@@
-5,9
+5,17
@@
<% include( 'elements/process.html',
'table' => 'access_user',
'viewall_dir' => 'browse',
<% include( 'elements/process.html',
'table' => 'access_user',
'viewall_dir' => 'browse',
+ 'copy_on_empty' => [ '_password' ],
+ 'clear_on_error' => [ '_password', '_password2' ],
'process_m2m' => { 'link_table' => 'access_usergroup',
'target_table' => 'access_group',
},
)
%>
% }
'process_m2m' => { 'link_table' => 'access_usergroup',
'target_table' => 'access_group',
},
)
%>
% }
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>