[SalesForce] How to deploy objects without their profile permissions

I would like to deploy a bunch of objects from a sandbox to Production. However, I am not yet ready to give permission to the users to use these new objects. Therefore, I do not want to deploy profiles with the objects.

Is it possible for me to deploy the objects now, and then deploy the profiles at a later date ? Would that properly update the Production profiles, giving the users the necessary permission to the previously deployed objects ?

Every time I've deployed profiles it has been with components, so the Production profiles were updated with the setting for those components included. So, I didn't know if this type of approach would work as well. My guess is that it would work, but I just wanted to make sure.

Best Answer

No, you can not deploy profile settings separately (there are some exceptions for non-component oriented profile settings). You have deploy them along with the components whose permissions you're updating.

However, you can deploy components separately from the profile settings. Make sure you use change sets, since deploying with Eclipse defaults all permissions to open. Then later you can come back and deploy the profiles and components together. Since the second deployment will also include all the components, you'll want to take special care that you don't overwrite any changes you made to those components in production after the initial deployment.

Related Topic