summaryrefslogtreecommitdiff
path: root/FS/FS/AccessRight.pm
diff options
context:
space:
mode:
authorivan <ivan>2011-08-03 00:05:01 +0000
committerivan <ivan>2011-08-03 00:05:01 +0000
commit524f46a00ec9610c82a519bea2469cb1711abc1b (patch)
tree6102fab6fd6b1a41bd276cf0804fa3625e8e828c /FS/FS/AccessRight.pm
parent9fa60cbce4bb13ef227749706c99c5bf584bbf3e (diff)
resolve inconsistency with posting payments then not having the ACL to view them: add "View payments" and "View refunds" rights, redirect payment/refund posting back to customer view if you cannot see the result
Diffstat (limited to 'FS/FS/AccessRight.pm')
-rw-r--r--FS/FS/AccessRight.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm
index 458f9694e..4514ccbfd 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -186,6 +186,7 @@ tie my %rights, 'Tie::IxHash',
# customer payment rights
###
'Customer payment rights' => [
+ 'View payments',
{ rightname=>'Post payment', desc=>'Make check or cash payments.' },
'Post check payment',
'Post cash payment',
@@ -206,6 +207,7 @@ tie my %rights, 'Tie::IxHash',
'Apply credit', #NEWNEW
{ rightname=>'Unapply credit', desc=>'Enable "unapplication" of unclosed credits.' }, #aka unapplycredits
{ rightname=>'Delete credit', desc=>'Enable deletion of unclosed credits. Be very careful! Only delete credits that were data-entry errors, not adjustments.' }, #aka. deletecredits Optionally specify one or more comma-separated email addresses to be notified when a credit is deleted.
+ 'View refunds',
{ rightname=>'Post refund', desc=>'Enable posting of check and cash refunds.' },
'Post check refund',
'Post cash refund',