Skip to main content
Kevin McAuliffe (Mitratech Holdings) 님이 #Security에 질문했습니다
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개
  1. 2016년 4월 28일 오후 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