Authority
Whose authority the operation spends when it runs. The distinction that matters is `WriteAsUser`: an operation that acts in somebody's name produces effects the world will attribute to THEM. That is a different kind of risk from an operation that merely writes, and it is why authority is its own dimension instead of a shade of mutation.
Authority::weight()
public function weight(): intHow much scrutiny this level demands — higher wins when profiles are joined.
Authority::cases()
public static function cases(): arrayAuthority::from()
public static function from(string|int $value): staticParameters
| Name | Type | Description |
|---|---|---|
| $value | string|int |
Authority::tryFrom()
public static function tryFrom(string|int $value): ?staticParameters
| Name | Type | Description |
|---|---|---|
| $value | string|int |