code: function superRoles (rootRoleId, memberships) {
    const inherits = findSuperRoles(rootRoleId, memberships)
    const uniqueInherits = [rootRoleId, ...new Set(inherits)]
    return uniqueInherits
  }
docs: buildIndex