canApplyDirectly static method
Whether role can apply sensitive changes directly (admin+).
Implementation
static bool canApplyDirectly(UserRole role) => role.value >= UserRole.admin.value;
Whether role can apply sensitive changes directly (admin+).
static bool canApplyDirectly(UserRole role) => role.value >= UserRole.admin.value;