Implements RBAC-based write gating for Intune restore flows, UI affordances, and audit logging; adds tests and specs.
18 lines
403 B
PHP
18 lines
403 B
PHP
<?php
|
|
|
|
namespace App\Exceptions\Hardening;
|
|
|
|
use RuntimeException;
|
|
|
|
class ProviderAccessHardeningRequired extends RuntimeException
|
|
{
|
|
public function __construct(
|
|
public readonly int $tenantId,
|
|
public readonly string $operationType,
|
|
public readonly string $reasonCode,
|
|
public readonly string $reasonMessage,
|
|
) {
|
|
parent::__construct($reasonMessage);
|
|
}
|
|
}
|