export const codeEditableRoles = ["ADMIN", "SYSTEM_ADMIN"] as const;

export function canEditMasterCode(role: string | null | undefined) {
  return codeEditableRoles.includes(role as (typeof codeEditableRoles)[number]);
}
