What is the best way to deploy profiles in salesforce?
I have a system admin profile with access given to the objects that i have created in my sandbox. I have about 1000 fields across these objects. Eclipse suggests that we should not deploy profiles.
Also in production there is a high possibility that admins would have been given access to someother object's fields' which are not available in my sandbox.
To detail it :-
Say I have a sandbox dev1 and am working on it for application 1 after refreshing from production.
I have another sandbox dev2 and another group of devs are working on it for application 2 after refreshing from production.
Dev2 goes live (to production) before dev1, and in dev2 system admin profile i have added some fields based on the objects that are needed for application 2 and have deployed it to production..
Now, If I deploy dev1 to production (and If I have about some 1000 fields added in my dev1 sandbox and the access has been given to system admin), How will I deploy this system admin profile with necessary field access to production? Because if I overwrite the system admin profile, the field access that were already given fro dev2 application2 will be removed. How do I handle this??
I know we can achieve this using permission set for all other existing profiles. How to do this for System administrator profile?