fix: inherit trigger authority from entrypoint authority
Context
In my latest assessment, the failure of the domain_owner_trigger_permissions test after PR #5457 is not because this PR introduced a bug, but because correctly routing trigger execution to the executor revealed a flaw in the previous implementation: by-call triggers should have sourced authority from the execution-time event.authority rather than the registration-time action.authority. This PR fixes that.
Also make data triggers inherit the entrypoint's authority, closing #5441.
by-call triggers should have sourced authority from the execution-time
event.authorityrather than the registration-timeaction.authority.
Why? If so, what is the point of setting action.authority for the by-call triggers?