export class VisibilityPolicy {
    isFieldWritable(questionCode, ctx) {
        if (ctx.role === "Read-only")
            return false;
        if (questionCode.startsWith("SYS_"))
            return ctx.role === "Admin";
        return true;
    }
}
