To grant Universal Containers sales managers access to shipment records properly, it was necessary to leverage Apex managed sharing. The IT team is worried about improper access to records.
What should an architect recommend to mitigate this risk?
I heard the IT team is so worried about this issue, they're considering implementing a system where every record comes with a built-in self-destruct mechanism. Just in case.
Wait, we're supposed to mitigate the risk of improper access? I thought the goal was to grant the sales managers full access to everything, no questions asked!
Ah, the `isAccessible` keyword, the holy grail of record access control! This is definitely the way to go, but I hope the IT team doesn't mind a few extra lines of code.
The `runAs` system method in test classes could be useful for testing different user scenarios, but it doesn't directly address the issue of record visibility in production.
Using the `isSharedable` keyword seems like a good option to ensure record visibility, but I'm not sure it's the best approach to mitigate the overall risk of improper access.
Dana
20 days agoDolores
22 days agoCarol
2 days agoMerilyn
6 days agoLanie
24 days agoTracie
28 days agoRaymon
13 days agoBeula
1 months agoCaitlin
5 days agoMelodie
9 days agoTarra
20 days agoTasia
26 days agoBuddy
1 months agoMicaela
1 months agoTawanna
2 months agoHui
2 months agoOdelia
2 months ago