export function hasSystemAccess()

in src/smartAuthorizationHelper.ts [123:127]


export function hasSystemAccess(usableScopes: string[], resourceType: string): boolean {
    return usableScopes.some(
        (scope: string) => scope.startsWith('system/*') || scope.startsWith(`system/${resourceType}`),
    );
}