Merge pull request #17865 from strapi/fix/disable-rw-on-user

This commit is contained in:
Marc Roig 2023-08-30 16:28:57 +02:00 committed by GitHub
commit e595b117c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,8 @@ const userSchemaAdditions = () => {
'updatedBy',
'updatedAt',
'publishedAt',
'strapi_reviewWorkflows_stage',
'strapi_stage',
'strapi_assignee',
];
return currentSchema.filter((key) => !(ignoreDiffs.includes(key) || defaultSchema.includes(key)));