sfdy
sfdy copied to clipboard
Fix removal of enabled field permissions when corresponding object is disabled in profile
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.