ZoneOwnershipRefusal
final class ZoneOwnershipRefusal (View source)
Why ZoneOwnershipGuard refused an owner removal. Callers word the code for their own audience; the mode tells them what kind of replacement to suggest.
Constants
| LAST_OWNER |
The removal would leave the zone with no user owner and no group. |
| LAST_USER_OWNER_USERS_ONLY |
users_only mode: the last user owner cannot go even though groups remain. |
| GROUPS_ONLY_NO_GROUPS |
groups_only mode: no user owner can go while the zone has no group. |
| LAST_GROUP_GROUPS_ONLY |
groups_only mode: the last group cannot go even though user owners remain. |
| USERS_ONLY_NO_USER_OWNERS |
users_only mode: no group can go while the zone has no user owner. |
Methods
__construct(string $code, string $mode)
No description
Details
__construct(string $code, string $mode)
No description