## Summary - implement Spec 143 tenant lifecycle, operability, and tenant-context semantics across chooser, tenant management, onboarding, and canonical operation viewers - add centralized tenant lifecycle and operability support types, audit action coverage, and lifecycle-aware badge and action handling - add feature and unit coverage for tenant chooser eligibility, global search scoping, canonical operation access, onboarding authorization, and lifecycle presentation ## Testing - vendor/bin/sail artisan test --compact - vendor/bin/sail bin pint --dirty --format agent Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #172
20 lines
482 B
PHP
20 lines
482 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\Tenants;
|
|
|
|
final readonly class TenantOperabilityDecision
|
|
{
|
|
public function __construct(
|
|
public TenantLifecycle $lifecycle,
|
|
public bool $canViewTenantSurface,
|
|
public bool $canSelectAsContext,
|
|
public bool $canOperate,
|
|
public bool $canArchive,
|
|
public bool $canRestore,
|
|
public bool $canResumeOnboarding,
|
|
public bool $canReferenceInWorkspaceMonitoring,
|
|
) {}
|
|
}
|