You need to sign in to do that
Don't have an account?
balaji Jayararman
Read and create permission set at object level for guest user profile. but not getting records in apex class. Any work around for this?
As per winter 21 release notes, view all and modify all permissions are removed at object level for guest user profile.
In my case, i have apex class with sharing mode enabled and gave read and create permission for custom object(Technologies__c) for guest user profile. But no Technologies__c records are retrieved.
if i give view all permission for custom object(Technologies__c) for guest user profile. I see Technologies__c records are rerieved. Any work around for retreiving the records by giving read and create permission alone at object level for guest user profile?
In my case, i have apex class with sharing mode enabled and gave read and create permission for custom object(Technologies__c) for guest user profile. But no Technologies__c records are retrieved.
if i give view all permission for custom object(Technologies__c) for guest user profile. I see Technologies__c records are rerieved. Any work around for retreiving the records by giving read and create permission alone at object level for guest user profile?
>> Release Note:
-- https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_networks_reduce_object_perms.htm
It means that now you can be granted Read-Only access to records only through guest user sharing rules. If you have given read access on profile then it would not work.
Here are reference article for your reference:-
-- https://help.salesforce.com/articleView?id=networks_secure_guest_user_sharing.htm&type=5
-- https://help.salesforce.com/articleView?id=000352282&language=en_US&mode=1&type=1
Thanks
All Answers
https://help.salesforce.com/articleView?id=ls_guest_sharing_criteria.htm&type=5
>> Release Note:
-- https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_networks_reduce_object_perms.htm
It means that now you can be granted Read-Only access to records only through guest user sharing rules. If you have given read access on profile then it would not work.
Here are reference article for your reference:-
-- https://help.salesforce.com/articleView?id=networks_secure_guest_user_sharing.htm&type=5
-- https://help.salesforce.com/articleView?id=000352282&language=en_US&mode=1&type=1
Thanks