MT#61558 fix reseller (branding) license restriction

some rails got disabled when introducing the fine-grained
license restrictions in api/panel, ie. reseller branding.

Change-Id: I0b3690d8e0353c31f2c8680db63c4dd4df7600fe
mr13.2
Rene Krenn 10 months ago
parent fc42ca7564
commit 9f4c50c5dd

@ -136,7 +136,8 @@ sub create :Chained('list_reseller') :PathPart('create') :Args(0) :Does(License)
$c->stash(form => $form);
}
sub base :Chained('list_reseller_restricted') :PathPart('') :CaptureArgs(1) :Does(License) :RequiresLicense('reseller') :LicenseDetachTo('/denied_page') {
sub base :Chained('list_reseller') :PathPart('') :CaptureArgs(1) {
my ($self, $c, $reseller_id) = @_;
unless($reseller_id && is_int($reseller_id)) {

Loading…
Cancel
Save