id: 1 unit: export function checkAccess() file: package/src/auth.ts start line: 30 end line: 111 size: 70 LOC McCabe index: 15 number of parameters: 1 id: 2 unit: export function addAction() file: package/src/rbac.ts start line: 240 end line: 291 size: 50 LOC McCabe index: 11 number of parameters: 3 id: 3 unit: export function assignPrincipalToRole() file: package/src/rbac.ts start line: 107 end line: 127 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 4 unit: export function getRolesForGroups() file: package/src/rbac.ts start line: 208 end line: 230 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 5 unit: export function removeAction() file: package/src/rbac.ts start line: 301 end line: 321 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 6 unit: export function removePrincipalFromRole() file: package/src/rbac.ts start line: 136 end line: 151 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 7 unit: export function getPrincipal() file: package/src/principal.ts start line: 22 end line: 30 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 8 unit: export function getRole() file: package/src/rbac.ts start line: 77 end line: 85 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 9 unit: export function isInRole() file: package/src/rbac.ts start line: 160 end line: 168 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 10 unit: export function getPermissionsForRole() file: package/src/rbac.ts start line: 176 end line: 184 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: export function getRolesForPrincipal() file: package/src/rbac.ts start line: 192 end line: 200 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: export function getGroup() file: package/src/group.ts start line: 22 end line: 30 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: export function addRole() file: package/src/rbac.ts start line: 33 end line: 40 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 14 unit: export function removeRole() file: package/src/rbac.ts start line: 48 end line: 54 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: export function updateRole() file: package/src/rbac.ts start line: 63 end line: 69 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 16 unit: export function principalExists() file: package/src/principal.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: export function roleExists() file: package/src/rbac.ts start line: 93 end line: 98 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: export function groupExists() file: package/src/group.ts start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1