[SalesForce] System Administrator profile does not have rights to some new custom fields

We recently added many new custom fields to custom objects within our package. When I deployed the new objects from Eclipse to a target org (for the purpose of packaging) I noticed that the System Administrator profile did not have access to the new custom fields.

Is there an automatic way to force the System Administrator profile to get rights (view, modify) to all new fields? The System Administrator profile has gotten rights to hundreds of custom fields in the past, so I'm assuming this is a SFDC bug, or configuration glitch, rather than a known and understood feature of the system.

I don't want to introduce a special Permission Set for this purpose, because that was never needed for other fields, and the process of adding a permission set would inconvenience hundreds of production users.

Please explain how to guarantee that the System Administrator profile gets view and modify rights to new fields that are deployed from Eclipse to a target org.

Best Answer

The System Administrator profile needs to be included in the deployment along with the custom fields and objects included. If it is not it will not automatically have access to the new fields created by the deployment.

In the short term you can either manually change the System Administrator profile in the target Org to give access to the fields or else redo the deployment including the System Administrator profile.

You can also depending on the tool you are using include just the specific permissions for these fields rather than the complete profile.

This previous question and answer may be helpful.

Related Topic