From 53d68b31e5ec07704c53829548c537bac03b8894 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 18 Jul 2007 03:24:25 +0000 Subject: svc_acct.dir should be editable with ACL (#1730) --- httemplate/edit/svc_acct.cgi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'httemplate') diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index e0610b22f..d4adbc9e5 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -326,10 +326,22 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
% } - +% +%#dir +%if ( $part_svc->part_svc_column('dir')->columnflag eq 'F' +% || !$curuser->access_right('Edit home dir') +% ) { +% } else { + + + + Home directory + + +% } % %#shell %my $shell = $svc_acct->shell; -- cgit v1.2.1