MT#22657 Close peering API for the reseller role and small texts fixes

Change-Id: I172a34b51d7b856b5e1b7b6b4cdfac73898adee0
(cherry picked from commit 95c550e848)
(cherry picked from commit 798d0f9d12)
changes/93/8393/10
Irina Peshinskaya 10 years ago
parent 007edf0385
commit faa5b061d6

@ -39,7 +39,7 @@ __PACKAGE__->config(
action => {
map { $_ => {
ACLDetachTo => '/api/root/invalid_user',
AllowedRole => [qw/admin reseller/],
AllowedRole => [qw/admin/],
Args => 0,
Does => [qw(ACL CheckTrailingSlash RequireSSL)],
Method => $_,

@ -49,7 +49,7 @@ __PACKAGE__->config(
action => {
map { $_ => {
ACLDetachTo => '/api/root/invalid_user',
AllowedRole => [qw/admin reseller/],
AllowedRole => [qw/admin/],
Args => 0,
Does => [qw(ACL CheckTrailingSlash RequireSSL)],
Method => $_,

@ -42,7 +42,7 @@ __PACKAGE__->config(
action => {
(map { $_ => {
ACLDetachTo => '/api/root/invalid_user',
AllowedRole => [qw/admin reseller/],
AllowedRole => [qw/admin/],
Args => 1,
Does => [qw(ACL RequireSSL)],
Method => $_,
@ -50,7 +50,7 @@ __PACKAGE__->config(
} } @{ __PACKAGE__->allowed_methods }),
@{ __PACKAGE__->get_journal_action_config(__PACKAGE__->resource_name,{
ACLDetachTo => '/api/root/invalid_user',
AllowedRole => [qw/admin reseller/],
AllowedRole => [qw/admin/],
Does => [qw(ACL RequireSSL)],
}) }
},

@ -23,7 +23,7 @@ sub allowed_methods{
}
sub api_description {
return 'Defines peering groups.';
return 'Defines peering servers.';
};
sub query_params {

Loading…
Cancel
Save