merge: agent session work

This commit is contained in:
Ahmed Darrazi 2026-01-04 13:57:05 +01:00
commit 420b673030
2 changed files with 34 additions and 28 deletions

View File

@ -18,6 +18,7 @@ class ViewTenant extends ViewRecord
protected function getHeaderActions(): array
{
return [
Actions\ActionGroup::make([
Actions\EditAction::make(),
Actions\Action::make('admin_consent')
->label('Admin consent')
@ -46,6 +47,10 @@ protected function getHeaderActions(): array
TenantResource::verifyTenant($record, $configService, $permissionService, $rbacHealthService, $auditLogger);
}),
TenantResource::rbacAction(),
])
->label('Actions')
->icon('heroicon-o-ellipsis-vertical')
->color('gray'),
];
}
}

View File

@ -172,6 +172,7 @@ public function request(string $method, string $path, array $options = []): Grap
$response = $this->get(route('filament.admin.resources.tenants.view', $tenant));
$response->assertOk();
$response->assertSee('Actions');
$response->assertSee($firstKey);
$response->assertSee('ok');
$response->assertSee('missing');