Skip to main content
Hello,

We would like to eliminate the possibility of accidentally creating a scenario where a customer can view another customer's data in a Customer Portal.  We've discovered one way this could happen is by creating a sharing rule where records are shared with a Role + Internal and Portal Subordinates.   Validation rules and Apex Triggers can only trigger on sObjects, as I understand it, so I don't think either of those options would work

Are there any other options we could pursue to restrict the options on sharing rules?

Thank you.
1 resposta
  1. 28 de abr. de 2016, 12:02
    You cannot use a Validation Rule for viewing a record, validation rules are fired on record 'save'. To solve the view problem, you could overwrite the record detail page with a custom visualforce page and use the action method in the VF page to run any validation.
0/9000