I want to give 'Modify All' permission for certain objects, to around 90-100 profiles in my org (excepting a few). I feel it is very laborious work.. Is there a way to do this easily through the IDE-way? through some metadata manipulation?
Why not use list views to do this?
- create a list view on Profiles, filtering on the profiles you want to modify
- add only the columns 'Modify all' for the objects you want to assign (by searching on 'object permissions'
- save the list view
- tick the 'select all' checkbox at the top-left of the list view
- check the 'modify all' checkbox on one of the records. The system will ask you if you want to apply the change on all selected profiles.
I am sure the above suggested way would help a lot but if you are planning to pursue with the IDE WAY then --
For all the Objects which do not have modify all will have metadata as below:
So in order to give the profile read all and modify all permissions you will have to manually change it to below format. You can also use find and replace to edit the metadata of multiple profiles at the same time.