MT#59979 permit GET on resellers and billing profiles items even without license

In some cases the UI requires to GET information from a specific
reseller or billing profile because needed to show/created other
endpoints (for example 'customers').
Due to that it has been added the possiiblity to do the GET not
only of the list of the resellers and biling profiles, but also
of each specific item.

Change-Id: Iebbbbc494ce71e616d8e41ca20e97bebce7998b8
(cherry picked from commit a2a01d4690)
mr12.5
Marco Capetta 2 years ago
parent 69867edb2c
commit 4828b02c20

@ -41,7 +41,11 @@ __PACKAGE__->set_config({
Default => [qw/admin reseller ccareadmin ccare/],
Journal => [qw/admin reseller ccareadmin ccare/],
},
required_licenses => [qw/billing/],
required_licenses => {
PATCH => [qw/billing/],
PUT => [qw/billing/],
DELETE => [qw/billing/],
}
});
sub GET :Allow {

@ -40,7 +40,10 @@ __PACKAGE__->set_config({
Default => [qw/admin/],
Journal => [qw/admin/],
},
required_licenses => [qw/reseller/],
required_licenses => {
PATCH => [qw/reseller/],
PUT => [qw/reseller/],
}
});
sub GET :Allow {

Loading…
Cancel
Save