Exam4Training

Which two features did the development team miss that is causing the problems?

Universal Containers (UC) uses a custom lightning component with an Apex class to display shipment information (custom object, private OWD). UC sales managers are complaining about two important points:

Shipment records that belong to their teams can be seen by other users.

Shipment amount should be visible only by managers, but sales reps are able to view it.

Which two features did the development team miss that is causing the problems? Choose 2 answers.
A . Use runAs in test class to enforce user permissions and field-level permissions.
B . Use With Sharing keyword in Apex classes to enforce sharing rules evaluation.
C . Use isSharable keyword in Apex classes to assure record visibility.
D . Use isAccessible() method in Apex classes to check field accessibility

Answer: B,D

Exit mobile version