Skip to main content
Version: 26.2.x

Module: helpers

Functions

getMissingPortfolioPermissions

getMissingPortfolioPermissions(requiredPermissions, currentPermissions): SimplePermissions["portfolios"]

Calculate the difference between the required Transaction permissions and the current ones

Parameters

NameType
requiredPermissionsundefined | null | (NumberedPortfolio | DefaultPortfolio)[]
currentPermissionsnull | SectionPermissions<NumberedPortfolio | DefaultPortfolio>

Returns

SimplePermissions["portfolios"]

Defined in

api/entities/Account/helpers.ts:30