Module: helpers
Functions
getMissingPortfolioPermissions
▸ getMissingPortfolioPermissions(requiredPermissions
, currentPermissions
): SimplePermissions
["portfolios"
]
Calculate the difference between the required Transaction permissions and the current ones
Parameters
Name | Type |
---|---|
requiredPermissions | undefined | null | (NumberedPortfolio | DefaultPortfolio )[] |
currentPermissions | null | SectionPermissions <NumberedPortfolio | DefaultPortfolio > |
Returns
SimplePermissions
["portfolios"
]