Skip to main content
Version: 25.1.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