0

In my apex app, I have created multiple visualforce pages and Rest classes. This all looks good when the System administrator installs the package. However, user in the org can't access these pages and APIs as they don't have access to these.

For this, I think System administrator will have to manually go to each visualforce page and Rest classes in my app and give access to other profiles. I can include this in installation guide, but it seems very user unfriendly.

Isn't this a common problem? Is there a way I can assign access to these pages and classes to all profiles in the org?

  • yes, when installing select "all users". Also include perm sets to grant one offs as they arise – Eric Feb 1 '17 at 5:05
  • Thanks Eric, Now I got it. Please add your comment as answer so that I can accept. – vishesh Feb 1 '17 at 5:14
  • done.............. – Eric Feb 1 '17 at 5:15
5

yes,

When installing

  • select "all users".

Also include perm sets to grant one offs as they arise

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.