TT#151504 subscriberadmin can now manage customer phonebook

* subscriberadmin with can now manage customer
  phonebook entries

Change-Id: If693c3bce651ed00d9b710b416436abb94ba283a
mr11.0
Kirill Solomko 3 years ago
parent 5a18d5fee8
commit 6b94514dad

@ -2511,11 +2511,11 @@ sub phonebook_ajax :Chained('base') :PathPart('phonebook/ajax') :Args(0) {
$c->detach( $c->view("JSON") );
}
sub phonebook_root :Chained('base_restricted') :PathPart('phonebook') :Args(0) {
sub phonebook_root :Chained('base') :PathPart('phonebook') :Args(0) {
my ($self, $c) = @_;
}
sub phonebook_create :Chained('base_restricted') :PathPart('phonebook/create') :Args(0) {
sub phonebook_create :Chained('base') :PathPart('phonebook/create') :Args(0) {
my ($self, $c) = @_;
my $contract = $c->stash->{contract};
@ -2564,7 +2564,7 @@ sub phonebook_create :Chained('base_restricted') :PathPart('phonebook/create') :
);
}
sub phonebook_base :Chained('base_restricted') :PathPart('phonebook') :CaptureArgs(1) {
sub phonebook_base :Chained('base') :PathPart('phonebook') :CaptureArgs(1) {
my ($self, $c, $phonebook_id) = @_;
unless($phonebook_id && is_int($phonebook_id)) {
@ -2663,7 +2663,7 @@ sub phonebook_delete :Chained('phonebook_base') :PathPart('delete') :Args(0) {
NGCP::Panel::Utils::Navigation::back_or($c, $c->uri_for_action("/customer/details", [$contract->id]));
}
sub phonebook_upload_csv :Chained('base_restricted') :PathPart('phonebook_upload_csv') :Args(0) {
sub phonebook_upload_csv :Chained('base') :PathPart('phonebook_upload_csv') :Args(0) {
my ($self, $c) = @_;
my $contract = $c->stash->{contract};

Loading…
Cancel
Save