0

I have create a test/demo org from environment hub, stuck in assigning permission to guest license user.

where as it's working perfectly in prod and test sandbox environment.

permission set was created with --None-- license type.

enter image description here

5
  • Read All and Edit All permissions are being phased out for Guest Users. I suspect this may be that your new org is Spring 21...? – Phil W Jan 12 at 19:11
  • yes it is, now what is the work around? – Ragul Jan 17 at 19:42
  • Don't try to give view all to a guest user and make sure to use apex without sharing code to perform your processing without any sharing considerations. – Phil W Jan 17 at 21:03
  • Yes removing view all and modify all helps to resolve this issue but I need have edit record access to update the records. now facing Invalid Object Access error – Ragul Jan 18 at 19:25
  • You must move this logic into "without sharing" apex code in order to avoid such issues. – Phil W Jan 18 at 19:29
0

As per the error message, View All permission is selected for DevOps Fields object in the OutboundPermission Permission Set. Guest User cannot have View All permission on DevOps Field object. So, you are getting this error.

Create a separate permission set without View All permission on the DevOps Field object. Before assigning it to the Guest User, make sure the Permission Set doesn't have View All or Modify All on any of the objects.

Guest User cannot have more than Read and Create permissions on the objects.

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.