canApplyDirectly static method

bool canApplyDirectly(
  1. UserRole role
)

Whether role can apply sensitive changes directly (admin+).

Implementation

static bool canApplyDirectly(UserRole role) => role.value >= UserRole.admin.value;