projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACLs
[freeside.git]
/
httemplate
/
edit
/
process
/
router.cgi
diff --git
a/httemplate/edit/process/router.cgi
b/httemplate/edit/process/router.cgi
index
c69114e
..
7e0baf7
100644
(file)
--- a/
httemplate/edit/process/router.cgi
+++ b/
httemplate/edit/process/router.cgi
@@
-1,5
+1,3
@@
-%
-%
%local $FS::UID::AutoCommit=0;
%
%sub check {
%local $FS::UID::AutoCommit=0;
%
%sub check {
@@
-64,5
+62,9
@@
%dbh->commit or die dbh->errstr;
%print $cgi->redirect(popurl(3). "browse/router.cgi");
%
%dbh->commit or die dbh->errstr;
%print $cgi->redirect(popurl(3). "browse/router.cgi");
%
-%
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+</%init>