docs: def get_user_roles(uid,**kwargs):
      """
          Get the roles for a user.
          @param user_id
      """
      try:
          user_roles = db.DBSession.query(Role).filter(Role.id==RoleUser.role_id,
                                                    RoleUser.user_id==uid).all()
          return user_roles
      except NoResultFound:
          raise HydraError("Roles not found for user (user_id={})".format(uid))