TT#28460 Configs - adapt balanceinterfals item

Change-Id: I60e1eeea5f41428645ae8ff2b0fa97057ea02b8e
changes/01/18301/14
Irina Peshinskaya 8 years ago
parent 9fa2a19b4f
commit bad54e0780

@ -54,7 +54,7 @@ sub query_params {
__PACKAGE__->set_config({
allowed_roles => [qw/admin reseller/],
AllMethods => {
action_add => {
item_base => {
Chained => '/',
PathPart => 'api/' . __PACKAGE__->resource_name,
@ -90,20 +90,6 @@ __PACKAGE__->set_config({
}
});
__PACKAGE__->config(
action => {
(map { $_ => {
ACLDetachTo => '/api/root/invalid_user',
AllowedRole => [qw/admin reseller/],
Args => 1,
Does => [qw(ACL RequireSSL)],
Method => $_,
Path => __PACKAGE__->dispatch_path,
} } @{ __PACKAGE__->allowed_methods }),
},
);
sub GET :Allow {
my ($self, $c, $id) = @_;

Loading…
Cancel
Save