I have added a new field to the User object and provided field level security for the System admin object. I'm also creating a new permission set in which I provide access to this new field for the User object.
PermissionSet->Object Settings -> User -> Field visibility checkbox.
After deployment, I get an insufficient access for this field in the apex code.
I checked the value of User[newfield] in the permission set on the deployed instance and it shows the correct permissions. However, the system admin profile does not have the permission settings for this object. Am I missing something? Do I need to explicitly assign the permission set to the system admin profile on the deployed instance?