Skip to content

Minimal permissions needed for an end user when using the event bus? #449

Answered by jongpie
JeroenSfdc asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @JeroenSfdc - if you just want to ensure that users can log data, then you shouldn't need any additional permission sets or access:

  • I've tried to design the code to work regardless of what permissions the current user has. This is true even if you're using other save methods besides the event bus.
  • There is already another permission set, Logger: Log Creator, that grants explicit access to the LogEntryEvent__e platform event as well as all Apex classes used to generate logs. But as you pointed out in issue #441, Salesforce will not be requiring explicit access to invocable classes, so this permission set isn't really needed.

Hope this helps, but let me know if you have any follow up q…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kevinwcrump
Comment options

Answer selected by JeroenSfdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Salesforce Feature: Security Items related to the security model (object-level access, field-level security, record sharing)
3 participants