mitchspano/trigger-actions-framework

Custom Permissions check not namespace safe

Opened this issue · 0 comments

yippie commented

Expected Behavior

Bypass permission should work for any custom permission

Actual Behavior

Bypass permission is only honored if the permission shares the namespace with the apex-trigger-action-framework package.

Steps to Reproduce the Problem

  1. Package apex-trigger-action-framework in a namespaced package
  2. Set up a trigger and action
  3. Create a custom permission
  4. Put custom permission in bypass permission field of the action
  5. Do DML to cause the trigger to fire