TT#149460 add expand by profile_id, profile_set_id

* profile_id expands NGCP::PanelRole::API::SubscriberProfiles
  allowed_roles: admin, reseller
* profile_set_id expands NGCP::PanelRole::API::SubscriberProfileSets
  allowed_roles: admin, reseller

Change-Id: I86aa81273d6f12fb1734b6c94597ca2e16b0bc12
mr10.2
Kirill Solomko 4 years ago
parent f9ff14fab2
commit 2223ecf12e

@ -57,6 +57,26 @@ has_field 'domain_id' => (
},
);
has_field 'profile_id' => (
type => 'PosInteger',
element_attr => {
expand => {
class => 'NGCP::Panel::Role::API::SubscriberProfiles',
allowed_roles => [qw(admin reseller)],
},
},
);
has_field 'profile_set_id' => (
type => 'PosInteger',
element_attr => {
expand => {
class => 'NGCP::Panel::Role::API::SubscriberProfileSets',
allowed_roles => [qw(admin reseller)],
},
},
);
has_field 'reseller_id' => (
type => 'PosInteger',
element_attr => {

Loading…
Cancel
Save