code: async function rolesFromUserId (userInfo, userId) {
    if (!userInfo) return []
  
    try {
      return await userInfo.rolesFromUserId(userId)
    } catch (err) {
      console.log(`Ignoring error in rolesFromUserId: ${err.toString()}`)
      return []
    }
  }
docs: RbacService