merge: agent session work
This commit is contained in:
commit
420b673030
@ -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'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user