fix: correct module handle to match folder name and sibling convention
Handle and permission key were 'people_provider_local' (word order transposed), inconsistent with the folder name and every sibling provider_local_* module. This broke module:install/module:enable when invoked with the folder name, as done in CI and by every other module. Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
|||||||
|
|
||||||
public function handle(): string
|
public function handle(): string
|
||||||
{
|
{
|
||||||
return 'people_provider_local';
|
return 'provider_local_people';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function label(): string
|
public function label(): string
|
||||||
@@ -45,7 +45,7 @@ class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
|
|||||||
public function permissions(): array
|
public function permissions(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'people_provider_local' => [
|
'provider_local_people' => [
|
||||||
'label' => 'Access People Provider Local',
|
'label' => 'Access People Provider Local',
|
||||||
'description' => 'View and access the local people provider module',
|
'description' => 'View and access the local people provider module',
|
||||||
'group' => 'People Providers'
|
'group' => 'People Providers'
|
||||||
|
|||||||
Reference in New Issue
Block a user