- Added services (`RoleService`, `AppRoleService`, `AppsPermissionService`) to handle role creation, app assignments, and permissions. - Introduced new Livewire forms for creating roles and assigning apps (`CreateRoleForm`, `AssignAppToRoleForm`). - Built dynamic Blade views for role and app management, including modals and reusable components. - Removed outdated `fluxui-development` skill documentation.
18 lines
294 B
PHP
18 lines
294 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Data\Role;
|
|
|
|
use Spatie\LaravelData\Data;
|
|
|
|
final class AssignAppsToRoleData extends Data
|
|
{
|
|
public function __construct(
|
|
public int $roleId,
|
|
public int $duration,
|
|
/** @var int[] */
|
|
public array $appIds
|
|
) {}
|
|
}
|