RahalCorporate
PoliciesReference

Policy Settings Reference

All policy-level configuration options

Policy Settings Reference

Complete reference for policy configuration options.

Basic Settings

FieldTypeRequiredDescription
NameStringYesPolicy display name (2-200 characters)
DescriptionStringNoOptional description of policy purpose
CompanyReferenceYesCompany this policy belongs to
Is DefaultBooleanNoWhether this is the company default policy
Is ActiveBooleanNoWhether the policy is active (default: true)

Booking Mode

ValueCodeDescription
Direct BookingDIRECT_BOOKINGUsers can complete bookings directly if compliant
Request OnlyREQUEST_ONLYAll bookings require approval regardless of compliance
HybridHYBRIDDirect booking if in-policy, request required if out-of-policy

Default: HYBRID

Default Action

ValueCodeDescription
AllowALLOWNo restriction, booking proceeds
Warn and AllowWARN_AND_ALLOWWarning shown, booking allowed after acknowledgment
Require ApprovalREQUIRE_APPROVALBooking becomes a request requiring admin approval
BlockBLOCKBooking is prevented entirely

Default: REQUIRE_APPROVAL

Policy Lifecycle

States

StateDescription
ActivePolicy can be assigned and is enforced
InactivePolicy exists but is not used
DeletedSoft-deleted, not visible but preserved

Constraints

ConstraintDescription
Single DefaultOnly one policy per company can be default
Default RequiredCannot delete company default policy
Assignment DependenciesCannot delete policy with active assignments

Assignment Options

Role Assignment

FieldTypeDescription
RoleReferenceCompany role (MEMBER, MANAGER, ADMIN, or custom)
PolicyReferencePolicy to assign

User Assignment

FieldTypeDescription
UserReferenceUser to assign policy to
PolicyReferencePolicy to assign
Effective FromDateWhen assignment becomes active (optional)
Effective UntilDateWhen assignment expires (optional)

Assignment Resolution

PrioritySourceDescription
1 (Highest)User OverridePolicy assigned directly to user
2Role AssignmentPolicy assigned to user's role
3 (Lowest)Company DefaultCompany's default policy

Time-bound user assignments only apply when current date is within effective range.

On this page