Skip to main content
Version: 26.0.0-beta.2

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