From 2920cfc494c2811ca7879d6ecaa353d216c9f69d Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 27 Feb 2013 12:47:34 -0800 Subject: "Edit password" ACL, #21178, part 2 --- httemplate/edit/part_svc.cgi | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'httemplate/edit/part_svc.cgi') diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 007c24629..8a84b208a 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -407,6 +407,20 @@ % % } #foreach my $field (@fields) { % +% if ( $layer eq 'svc_acct' ) { +% # eww, more ugly special-caseyness +% $html .= +% ''. +% emt('Require "Provision" access right to edit password'). +% ''. +% 'restrict_edit_password ? ' CHECKED' : ''). +% '>'; +% } else { +% $html .= +% ''; +% } +% % $part_svc->svcpart('') if $clone; #undone % $html .= ""; % @@ -414,7 +428,7 @@ % $layer, #form name % [ qw(svc svcpart classnum selfservice_access % disabled preserve -% exportnum), +% exportnum restrict_edit_password), % @fields ], % 'process/part_svc.cgi', % $p.'browse/part_svc.cgi', -- cgit v1.2.1