diff --git a/server/src/openfga-yaml-schema.ts b/server/src/openfga-yaml-schema.ts index 8d02240..89cc461 100644 --- a/server/src/openfga-yaml-schema.ts +++ b/server/src/openfga-yaml-schema.ts @@ -601,14 +601,6 @@ function validateListUsers( } } } - - if (listUsers.assertions[assertion].excluded_users) { - for (const excludedUser of listUsers.assertions[assertion].excluded_users) { - if (!tuples.some((tuple) => tuple.user === excludedUser)) { - errors.push(undefinedTypeTuple(excludedUser, instancePath + `/assertions/${assertion}/excluded_users`)); - } - } - } } } } @@ -993,13 +985,6 @@ const OPENFGA_YAML_SCHEMA: Schema = { format: "user", }, }, - excluded_users: { - type: "array", - items: { - type: "string", - format: "user", - }, - }, }, }, },