So, I'm trying to setup a buddy system so that I can share visibility of accounts when someone is off
For some reason accounts being private isnt stopping someone from seeing the account so im locking it down by field boolean and lightning page visibility instead
so
im trying to create a checkbox formula field in object manager and having trouble
version 1 - success
is the Owner of a record the same as the user logged in
Version 2 - Fail
is the Owner of a record the same as the user logged in or is the user logged in part of a public group which has access to the accounts of the owner of this record via sharing settings
Got this from chatGPT but it didnt work
$User.Id = OwnerId ||
INCLUDES($Setup.PublicGroupWithAccess__c.PublicGroupMembers__c, Account.Owner.FirstName & " " & Account.Owner.LastName)
I've tried various iterations of this but cant get it to work