You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component should be available to add to any Lightning record page to show sharing applied by FormulaShare (custom objects only) and allow any user to request recalculation
Recalculation should happen in real time, and UI should indicate when recalculation is in progress and complete
List of current sharing should indicate apex sharing reason, corresponding rule label and shared entity
It would also be helpful to be able to programmatically specify a set of records and initialise recalculation for this set. If practical it would be good to select a design approach which also supports this use case
The text was updated successfully, but these errors were encountered:
The manual and programmatic requirements could potentially be addressed by exposing a static global set which can be populated with IDs of records to be processed by FormulaShareHelper().
A constraint to consider for manually requesting recalculation through a component - calling logic directly from LWC (or calling directly in any way from the package) is only possible if "with sharing" is applied to pass Salesforce security review. Users who don't have modify all on the object or are the record owner are not permitted to update sharing, so this approach wouldn't be viable.
We could sidestep this constraint by having the component add record ID to the set and then make an update to the record. The update should fire the subscriber's trigger which will execute FormulaShareHelper() without sharing.
The text was updated successfully, but these errors were encountered: