MT#60392 /api/lnpcarriers allow reseller GET

* reseller role can use GET on the endpoint because
  it is needed for an NCOS Levels (which resellers can create).

Change-Id: Ic793b0d74e767eb9e150a6ae3c67ff9f51c8cf6c
mr13.0
Kirill Solomko 1 year ago
parent 18597efb87
commit 775ec90d5d

@ -49,7 +49,10 @@ sub relation{
}
__PACKAGE__->set_config({
allowed_roles => [qw/admin/],
allowed_roles => {
'Default' => [qw/admin/],
'GET' => [qw/admin reseller/],
},
});
sub GET :Allow {

@ -30,7 +30,10 @@ sub relation{
}
__PACKAGE__->set_config({
allowed_roles => [qw/admin/],
allowed_roles => {
'Default' => [qw/admin/],
'GET' => [qw/admin reseller/],
},
});
sub GET :Allow {

Loading…
Cancel
Save