I'm aware on how to run a query on FieldPermissions object to check the permissions for a specific field.
The question I have, and I haven't been able to find anything online yet, is:
If I run the query below:
SELECT Field,Id,ParentId,PermissionsEdit,PermissionsRead,SobjectType,SystemModstamp FROM FieldPermissions WHERE SobjectType = 'Case'
I get the following result (this is a small set of the result):
If a field isn't available for any Profile/Permission Set, the field will never show up in the query, for obvious reason.
Does anybody know if it's possible to query the history of a field's permission? Like if we removed access to a field to all profiles/permsets... What was the permission before the change was made?
Can't find anything online about it...