projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable quotations, RT#20688, RT#22232
[freeside.git]
/
FS
/
FS
/
AccessRight.pm
diff --git
a/FS/FS/AccessRight.pm
b/FS/FS/AccessRight.pm
index
bad831a
..
121f83c
100644
(file)
--- a/
FS/FS/AccessRight.pm
+++ b/
FS/FS/AccessRight.pm
@@
-97,6
+97,7
@@
tie my %rights, 'Tie::IxHash',
#'New contact',
#'View customer contacts',
'Generate quotation',
#'New contact',
#'View customer contacts',
'Generate quotation',
+ 'Disable quotation',
],
###
],
###
@@
-217,6
+218,7
@@
tie my %rights, 'Tie::IxHash',
###
'Customer credit and refund rights' => [
'Post credit',
###
'Customer credit and refund rights' => [
'Post credit',
+ { rightname=>'Backdate credit', desc=>'Enable credits to be posted for days other than today.' },
'Credit line items', #NEWNEWNEW
'Apply credit', #NEWNEW
{ rightname=>'Unapply credit', desc=>'Enable "unapplication" of unclosed credits.' }, #aka unapplycredits
'Credit line items', #NEWNEWNEW
'Apply credit', #NEWNEW
{ rightname=>'Unapply credit', desc=>'Enable "unapplication" of unclosed credits.' }, #aka unapplycredits
@@
-310,6
+312,7
@@
tie my %rights, 'Tie::IxHash',
'Services: Mailing lists',
'Services: Alarm services',
'Services: Video',
'Services: Mailing lists',
'Services: Alarm services',
'Services: Video',
+ 'Services: Circuits',
'Services: External services',
'Usage: RADIUS sessions',
'Usage: Call Detail Records (CDRs)',
'Services: External services',
'Usage: RADIUS sessions',
'Usage: Call Detail Records (CDRs)',
@@
-443,6
+446,7
@@
sub default_superuser_rights {
'Credit card void',
'Echeck void',
'Void invoices',#people are overusing this when credits are more appropriate
'Credit card void',
'Echeck void',
'Void invoices',#people are overusing this when credits are more appropriate
+ 'Backdate credit',
);
no warnings 'uninitialized';
);
no warnings 'uninitialized';