adssd
This commit is contained in:
@@ -97,6 +97,28 @@ final class AdminAppsService
|
||||
return AppAccessConfig::saveRequiredGroups($this->projectRoot, $appId, $requiredGroups, $availableWithoutLogin);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $uploadedFile
|
||||
* @param array<int, string> $requiredGroups
|
||||
* @return array{module_directory: string, module_path: string, app_id: string, manifest: array<string, mixed>}
|
||||
*/
|
||||
public function installUploadedApp(
|
||||
array $uploadedFile,
|
||||
?string $targetDirectoryName,
|
||||
array $requiredGroups,
|
||||
bool $availableWithoutLogin
|
||||
): array {
|
||||
$installer = new UploadedModuleZipInstaller();
|
||||
|
||||
return $installer->install(
|
||||
$this->projectRoot,
|
||||
$uploadedFile,
|
||||
$targetDirectoryName,
|
||||
$requiredGroups,
|
||||
$availableWithoutLogin
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<int, array<string, mixed>> $apps
|
||||
* @return array<int, array<string, mixed>>
|
||||
|
||||
Reference in New Issue
Block a user