You need to sign in to do that
Don't have an account?
Kapil Kaushik
Modify Permissions Set using Post Install Script
We can modify the Permission Sets using Apex in our Development org.
But can we change the Permission set by writing code in the Post Install Script after package Installation without cloning Permission sets ?
But can we change the Permission set by writing code in the Post Install Script after package Installation without cloning Permission sets ?
We can not modify the Permissions Set if these are the part of package.
But we can Insert new Permissions Set by Using Post Install Script.
I have Implemented this and my Permissions Set includes:
App permission
Apex Page & Apex Class
Objects & Field Permissions and may more.
If someone needs any help on Permissions Set ( of Standard Objects when these are the part of Package and having Master-Detail relationships with our Custom Objects), Please feel free to post your Comments on this post.
Thanks,
Kapil Kaushik
All Answers
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/push_upgrade_post_install_script.htm
Hope this helps!
We can not modify the Permissions Set if these are the part of package.
But we can Insert new Permissions Set by Using Post Install Script.
I have Implemented this and my Permissions Set includes:
App permission
Apex Page & Apex Class
Objects & Field Permissions and may more.
If someone needs any help on Permissions Set ( of Standard Objects when these are the part of Package and having Master-Detail relationships with our Custom Objects), Please feel free to post your Comments on this post.
Thanks,
Kapil Kaushik
Can we run scripts on Profiles?
I have installed a Manage Package for all profiles in the Org, now I want to restrict the package access only to certain profiles ?
Instead of doing for each profile manually do you have any automated solution?