this.pluginManifest.sbcPermissions is still an Array and not a Set as expected so when trying to install a plugin with SBC permission requirements, it fails because of this.permissions.has(SbcPermission.superUser) (Array has not has method).
Maybe a more proper fix would be to change the initObject from the ObjectModel TS library so this.pluginManifest.sbcPermissions is returned as Set<SbcPermission> type ?
this.pluginManifest.sbcPermissions
is still an Array and not a Set as expected so when trying to install a plugin with SBC permission requirements, it fails because ofthis.permissions.has(SbcPermission.superUser)
(Array has nothas
method).Maybe a more proper fix would be to change the
initObject
from the ObjectModel TS library sothis.pluginManifest.sbcPermissions
is returned asSet<SbcPermission>
type ?