sfdy icon indicating copy to clipboard operation
sfdy copied to clipboard

Fix removal of enabled field permissions when corresponding object is disabled in profile

Open gvgramazio opened this issue 1 year ago • 0 comments

Applying standard patch addDisabledVersionedObjects disabled versioned objects are added to profiles as per documentation. However, when this option is enabled, field permissions of disabled versioned objects are removed from profiles. This is not documented. Moreover, field permissions may be truthful even if their object permissions aren't. This PR aim to keep these fields permissions in profiles. My suggestion is to remove the filter on field permissions and add it in a separate standard patch.

gvgramazio avatar May 23 '23 16:05 gvgramazio