From aa279e025aaf86a43124e8a54bef90c6534b98e7 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Mon, 8 Jun 2020 21:56:33 +0200 Subject: [PATCH] TT#76111 add admin flags for 'system' user * 'system' user must have admin flags properly set Change-Id: I7b38aa590ec4e049186f87d17334a61bb865d233 --- lib/NGCP/Panel/Authentication/Store/SystemRole.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/NGCP/Panel/Authentication/Store/SystemRole.pm b/lib/NGCP/Panel/Authentication/Store/SystemRole.pm index 75a949cab8..2495a09f58 100644 --- a/lib/NGCP/Panel/Authentication/Store/SystemRole.pm +++ b/lib/NGCP/Panel/Authentication/Store/SystemRole.pm @@ -10,6 +10,17 @@ sub roles { : $self->{roles}; } +sub id { 0 }; +sub is_system { 1 }; +sub is_master { 1 }; +sub is_superuser { 1 }; +sub is_ccare { 0 }; +sub is_readonly { 0 }; +sub show_passwords { 1 }; +sub call_data { 1 }; +sub billing_data { 1 }; +sub lawful_intercept { 0 }; + 1; # vim ts=4 sw=4 et