Skip to content

fix(uow): Enforce context access level when publishing platform events - #29

Merged
rfernandesdossantos merged 1 commit into
mainfrom
feature/20261130-publish-with-access-level
Dec 2, 2026
Merged

rfernandesdossantos merged 1 commit into
mainfrom
feature/20261130-publish-with-access-level

Conversation

@rvandenassum

Copy link
Copy Markdown
Contributor

Description

  • Apply newly introduced EventBus.publishWithAccessLevel (Winter '27) to ensure access level is enforced when publishing platform events in all DMLProxy implementations
  • FULL context now enforces USER_MODE (Create permission on the event) as documented; other contexts remain SYSTEM_MODE

Checklist

  • My PR title follows the Conventional Commits format
  • My code follows the project's coding standards
  • I have tested my changes locally
  • I have updated documentation if needed

* Replace EventBus.publish with EventBus.publishWithAccessLevel in all DMLProxy implementations
* FULL context now enforces USER_MODE (Create permission on the event) as documented; other contexts remain SYSTEM_MODE
@github-actions

Copy link
Copy Markdown

✅ PR Template Validation Passed

  • Type: fix (detected from title)
  • Description: Valid (288 characters)
  • Checklist: 4 item(s) checked

@github-actions github-actions Bot added framework Changes under force-app/ or manifest/ database force-app/database files bug Something isn't working community External contributor PR labels Nov 30, 2026
@rfernandesdossantos rfernandesdossantos removed the community External contributor PR label Dec 2, 2026
@rfernandesdossantos
rfernandesdossantos merged commit 94a811b into main Dec 2, 2026
6 checks passed
@rfernandesdossantos
rfernandesdossantos deleted the feature/20261130-publish-with-access-level branch December 2, 2026 10:16
@rfernandesdossantos rfernandesdossantos mentioned this pull request Dec 2, 2026
4 tasks done

This branch was successfully deployed

1 active deployment
buildcheck — 5143519f Deployed Nov 30, 2026 by rvandenassum via validate-deployment #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working database force-app/database files framework Changes under force-app/ or manifest/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants