Class AllowedActions
Computed permissions for self-service portal actions.
Evaluated server-side from SelfServiceRulesSettings against the user's
household data (issuance type, card status). The frontend reads these booleans
to show/hide CTAs without ever seeing the raw policy config.
public record AllowedActions
- Inheritance
-
objectAllowedActions
Properties
AddressUpdateDeniedMessageKey
i18n key for the message shown when address update is denied. Null when CanUpdateAddress is true.
public string? AddressUpdateDeniedMessageKey { get; init; }
Property Value
- string
CanRequestReplacementCard
Whether the user can request a replacement card via the portal.
public bool CanRequestReplacementCard { get; init; }
Property Value
- bool
CanUpdateAddress
Whether the user can update their mailing address via the portal.
public bool CanUpdateAddress { get; init; }
Property Value
- bool
CardReplacementDeniedMessageKey
i18n key for the message shown when card replacement is denied. Null when CanRequestReplacementCard is true.
public string? CardReplacementDeniedMessageKey { get; init; }
Property Value
- string