projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
communigate: domain account defaults, RT#7083
[freeside.git]
/
httemplate
/
edit
/
svc_Common.html
diff --git
a/httemplate/edit/svc_Common.html
b/httemplate/edit/svc_Common.html
index
6393f9e
..
3da72d2
100644
(file)
--- a/
httemplate/edit/svc_Common.html
+++ b/
httemplate/edit/svc_Common.html
@@
-1,5
+1,14
@@
+<% include('elements/svc_Common.html',
+ 'table' => $table,
+ 'post_url' => popurl(1). "process/svc_Common.html",
+ %opt,
+ )
+%>
<%init>
<%init>
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+
# false laziness w/view/svc_Common.html
$cgi->param('svcdb') =~ /^(svc_\w+)$/ or die "unparsable svcdb";
# false laziness w/view/svc_Common.html
$cgi->param('svcdb') =~ /^(svc_\w+)$/ or die "unparsable svcdb";
@@
-22,9
+31,3
@@
if ( UNIVERSAL::can("FS::$table", 'table_info') ) {
}
</%init>
}
</%init>
-<% include('elements/svc_Common.html',
- 'table' => $table,
- 'post_url' => popurl(1). "process/svc_Common.html",
- %opt,
- )
-%>