Quick update: 11.2.30 and 12.2.14 are both now live from the Skuid releases page.
One addition to the previously stated "What Do I Need To Do:"
If none of the above resolved the issue for you, the final option is for you to request that Salesforce delay auto activating the guest user change in your org until summer ‘20 to give yourself more time to get situated as explained in this documentation.
Hey out of curiosity,
Has anyone figured out how to still give permission to Edit Access to guest users?
I have Skuid pages exposed to our partners/clients through Site’s guest users which allow them to edit some records, and this is going to have a huge impact on us, and looking for solutions.
Anything would be appreciated greatly!
Tahnk you
Hi Dave, with the guest user secure record access settings in place, you do have to write some Apex to allow guest users to edit records (see #2 above for more details and Salesforce best practices to enable guest users to update records.)
Be very precise with this because you are intentionally allowing guest users to circumvent the Salesforce security model that you configured. Make triple sure that you are tightly controlling what that Apex is doing and make it really super specific to exactly what you need guest users to be able to do, no more.
As per #3, if you run into trouble on the Apex side of things and/or would like to more time before these changes are applied to your orgs, reach out to Salesforce with details of your use case and their task force should be able to assist you and give you recommendations.
If you run into issues with the Apex/Skuid integration, check out the docs on Skuid and Apex and as always you can post any questions here on the community.
Hey Dave,
We had this same issue. I had a call with SalesForce on Friday and I was told that if you give the Site Guest User profile “modify all” access to the objects that you need access to, the site guest user can edit.
I tried it and it worked in our sandbox org.
Hi, and Thank you for the info,
But that’s not in line with I was reading online, apparently the Modify ALL will be disabled as well
“Guest cannot be granted ‘View All Data’ or ‘Modify All Data’ access on objects” security policy will be enforced in Summer’20 release across Salesforce sites
Tami, Did SF tell you this is good temporarily only?
Thank you!
@anna will the apex code work even if the guest user uses a skuid page to 'Edit record"?
@Dave on my call with SalesForce they said it will work permanently. With that said when it comes to this issue I am having a really hard time getting consistant information from SalesForce when I reach out to them for info and help.
@karen
Somehow in my production org the Secure guest user record access got turned on, and now the Guest User profile can no longer see any skuid pages…
I checked all possible settings but i get the same message
I believe the Guest user no longer have access to skuid pages, even though a License is assigned to this Guest Profile
We cannot share the pages manually , as Secure guest user record access = true and SF does not allow to add to public groups, queues or share manually
Any help please???
This is affecting us a lot, as we were not ready for that feature to be turned on , and SF is not responding to us so far
You’ve been INKED! (Something went wrong)
We were unable to find a Skuid Page named Site_offers. The Page is either inaccessible or does not exist. If you believe you should be able to view this Skuid Page, ask your System Administrator to check the Sharing Model for the Page object to ensure that you have access to this Skuid Page.
Hey Dave, sorry to hear that.
- What version of Skuid are you using? (See this announcement - Spring 20 also made changes that affect Skuid permission sets in versions before 12.2.9 and 11.2.28)
- You said that the site Guest User has a license, will you double check that they are assigned the Skuid Page Viewer Permission set?
@Dave you have two options
- You can disable “Secure guest user record access” by
- Navigate to--> Settings-->Sharing Setting
- Ensure you don't have any Sharing Rules set up.
- Click CEdit] scroll all the way to the down. On the bottom left you should be able to uncheck "Secure guest user record access"
2. Set up Sharing Rules for your Skuid pages that the guest user accesses.
- Navigate to--> Settings-->Sharing Setting
- Look for "Page Sharing Rules"
- Click CNew]
- Fill in the Label & Rule Name
- Select the radio button "Guest user access, based on"
- In the Criteria section: Field: Page Name; Operator: equals; Value: "Enter the name of the Skuid Page you are sharing".
- Click CSave]
- You should be able to see/read the page.
- If you need to edit the page, you need to give "modify all" access to the guest user profile for the requested objects in the skuid page.
Hope that helps!
@tami
Hey thank you very much, Salesforce finally reached out last night and told me exactly those steps for disabling the modify all, it was sharing rules the issue that was not letting me uncheck that setting!
And thank you for Sharing rule of pages.
You are very knowledgable and thank you for sharing that knowledge!
I appreciate the help
Checklist for using Skuid’s file upload component in communities or sites where guest user secure record access is activated:
Does your version of Skuid include updated version of the file upload component? To use the file upload component with guest user secure record access activated, you need to be on 11.2.30 or later or 12.2.14 or later. Remember to always test new versions in a Sandbox environment before installing them in production; links available at skuid.com/releases.
Does the guest user have access to the record they need? Use sharing rules to grant read-only access to the Salesforce object & record, e.g. share all records where Created By Id is the site guest user’s Id.
Does the guest user have access to Skuid? Make sure the the guest user profile has been assigned a Skuid license and the Skuid Page Viewer permission set.
Make sure the site has access to the UploadImage Visualforce page. If you are using the skuid:page component in your Visualforce or Lightning page, you must include the UploadImage Visualforce page in the list of pages your site has access to.
@Dave not sure if you have this all figured out in your org but I am still a bit confused and SalesForce keeps giving me different answers every day whether this disable sharing rules and site guest users can still edit. With that said, I wanted to share couple of links with you that SF shared with me and ask if you get any new info if you wouldn’t mind sharing it.
Secure Guest User Sharing Settings: https://help.salesforce.com/articleView?id=networks_secure_guest_user_sharing.htm&type=5
Community Discussion: https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A0000004mDI
Thanks!
@tami I tried in sandbox with your suggestion of using modify all and it works fine.
But I had a case open with salesforce and cannot get a clear answer whether we will be able to give modify all in summer 20… So far you are the only one I’ve heard this from and so far it works.
I’ve been watching the community thread you mentionned above and from I see there: Guest cannot be granted ‘View All Data’ or ‘Modify All Data’ access on objects” security policy will be enforced in Summer’20 release across Salesforce sites
Salesforce has given our org until June 1st (or summer 20 release) to find a solution
The other solution would be to do it with Apex Code, but my Dev is not sure on how to write this apex code, as it’s skuid making the ‘changes’ to SF and skuid being a managed package cannot edit/view the classes he needs
Overall we are all just as confused if not more lol
This is possibly useful if we decide to go Apex Way: https://www.learncommunitycloud.com/s/news/guest-user-record-access-development-best-practices-20Y1U000000UkITUA0
I will keep updating here as I get more info!
@Dave thanks for making me feel like I am not going nuts with this.
Thanks for sharing that article, I have seen it before but we are not lightening enabled so it won’t work for us.
To add more complexity to this issue I talked to a SF Dev today that said that what we currently have in place for edit access won’t work after summer release (as you know) but an Apex class/trigger won’t give edit access to guest users after the summer release either.
So my question was how do I give them edit access, she said you won’t be able to after the summer release.
I asked if we will be able to disable “Secure Guest Access” flag after Summer release so that our guest users can have edit access. Her reply was they don’t know yet.
The plot thickens!
@ tami
We have not moved to lightning yet either, but from what I Understood from my Dev is that:
Guest User will do the changes as usual on the public-facing skuid page, and then the apex will basically do the following:
1- ‘Capture all the changes of that session’
2- Open a session under a SF user for authentication
3- this user will be the one ‘Updating record’ with all the changes guest user made
Dev told me it should be straightforward if i was using a VF page let’s say instead of Skuid
The issue with Skuid, is that he does not know how Skuid captures and sends the changes to SF, and not sure how he would be able to do step 1. As skuid is a managed package he cannot dig deeper or change any skuid classes.
@anna is there some documentation/ideas on how we would be able to do step 1? (capture all changes made on skuid page, and use apex to update record)
Hopefully that helps, especially if Skuid can help us with that step 1
Hi Dave, let me check with the team and get back to you.
@Anna any update on Dave’s request?
Hello Tami and Dave! The team and I are currently looking into the matter and will update you with what we are able to find.
HELP. HELP. HELP. Did not pay attention to this issue until today when my site http://my.dorothy.com is receiving
“You’ve been INKED! (Something went wrong)
We were unable to find a Skuid Page named M1_Person. The Page is either inaccessible or does not exist. If you believe you should be able to view this Skuid Page, ask your System Administrator to check the Sharing Model for the Page object to ensure that you have access to this Skuid Page.”
Tried following the directions at https://help.salesforce.com/articleView?id=security_sharing_rules_create.htm&type=5
When I try to follow their directions:
- From Setup, enter Sharing Settings in the Quick Find box.
- Select Sharing Settings.
“Sharing settings” does not exist.
I went to renew my license this morning and happen to have a member call and say there was an issue.
Ben Marshall sent the following
Hi Bill,
Happy to help, but I am just outside of my depth on the technical aspects.
You might be able to see if Tami or Dave can answer your questions if you reply to that community thread. It seems like Tami worked on this with SF directly.
Best of luck.
Ben
I know it is Saturday, but can anyone help?
Cheers,
Bill
727-400-3201
Hey Bill,
You have two options to get your external page working for your guest users. You either create a sharing rule for the Skuid page or disable “Secure guest user record access”
To add Skuid page to sharing rules
- From Setup, enter "Sharing Settings" in the Quick Find box.
- Select Sharing Settings. (Navigate to Administer-->Security Controls--> Sharing Settings)
- Find the "Page Sharing Rules" section
- Click lNew]
- Create a Label and Rule Name
- Rule Type: "Guest user access, based on criteria"
- Set up the criteria: Field: Page Name ; Operator: equals; Value "The name of the skuid page"
- Share with: "Guest User"
To turn off “Secure guest user record access”
- From Setup, enter "Sharing Settings" in the Quick Find box.
- Select Sharing Settings. (Navigate to Administer-->Security Controls--> Sharing Settings)
- Remove all sharing rules that are set up for each object.
- Then Click "Edit" next to Organization-Wide Defaults
- Scroll all the way down to the bottom
- Uncheck "Secure guest user record access"
what are the “Pros” and “Cons” of either method