summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService
diff options
context:
space:
mode:
authorC.J. Adams-Collier <cjac@colliertech.org>2014-09-25 13:15:18 -0700
committerC.J. Adams-Collier <cjac@colliertech.org>2014-10-06 14:35:06 -0700
commit9931f703daa44a56da2382fd823271eff138959a (patch)
treea4b34373795adb094ec5d38a488bf3528986fa35 /fs_selfservice/FS-SelfService
parent5405c718b31852df721eb8fd804d3836970f8494 (diff)
FS RT #30362 - added configuration option to disable package modification in selfservice
checking for this value before displaying change link or accepting form submission data
Diffstat (limited to 'fs_selfservice/FS-SelfService')
-rw-r--r--fs_selfservice/FS-SelfService/cgi/provision_list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/provision_list.html b/fs_selfservice/FS-SelfService/cgi/provision_list.html
index 24d6ff436..b558337de 100644
--- a/fs_selfservice/FS-SelfService/cgi/provision_list.html
+++ b/fs_selfservice/FS-SelfService/cgi/provision_list.html
@@ -13,8 +13,8 @@ foreach my $pkg (
my $susp = $pkg->{'susp'} || '';
my @pkg_actions = ();
if ( ! $susp ) {
- push @pkg_actions, [ 'customer_change_pkg' => 'change' ];
- push @pkg_actions, [ 'process_suspend_pkg' => 'suspend' ]
+ push @pkg_actions, [ 'customer_change_pkg' => 'change' ] unless $pkg->{'immutable'};
+ push @pkg_actions, [ 'process_suspend_pkg' => 'suspend' ]
if $self_suspend_reason;
}