Skip to content

Commit

Permalink
Merge pull request #920 from jetstreamapp/bug/917
Browse files Browse the repository at this point in the history
Ensure platform event objects show up in permission manager
  • Loading branch information
paustint authored Jun 6, 2024
2 parents ac2dc69 + 6564ca0 commit 79cee8d
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ const MAX_OBJ_IN_QUERY = 100;

export function filterPermissionsSobjects(sobject: DescribeGlobalSObjectResult) {
return (
sobject.createable &&
sobject.updateable &&
!sobject.name.endsWith('__History') &&
!sobject.name.endsWith('__Tag') &&
!sobject.name.endsWith('__Share')
sobject.name.endsWith('__e') ||
(sobject.createable &&
sobject.updateable &&
!sobject.name.endsWith('__History') &&
!sobject.name.endsWith('__Tag') &&
!sobject.name.endsWith('__Share'))
);
}

Expand Down

0 comments on commit 79cee8d

Please sign in to comment.