diff --git a/api-tests/core/strapi/api/validate-query/validate-query.test.api.js b/api-tests/core/strapi/api/validate-query/validate-query.test.api.js index 2edca04407..8d0d22f777 100644 --- a/api-tests/core/strapi/api/validate-query/validate-query.test.api.js +++ b/api-tests/core/strapi/api/validate-query/validate-query.test.api.js @@ -745,6 +745,7 @@ describe('Core API - Validate', () => { const allDocumentFields = [ // TODO: Document id should not be in attributes 'documentId', + 'locale', 'name', 'name_non_searchable', 'misc', diff --git a/packages/plugins/users-permissions/server/bootstrap/index.js b/packages/plugins/users-permissions/server/bootstrap/index.js index f0bf234ed6..6659b05f79 100644 --- a/packages/plugins/users-permissions/server/bootstrap/index.js +++ b/packages/plugins/users-permissions/server/bootstrap/index.js @@ -115,6 +115,8 @@ const userSchemaAdditions = () => { 'publishedAt', 'strapi_stage', 'strapi_assignee', + 'locale', + 'localizations', ]; return currentSchema.filter((key) => !(ignoreDiffs.includes(key) || defaultSchema.includes(key)));