Skip to content

Custom Permissions check not namespace safe #153

@yippie

Description

@yippie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions