code: def get_user_permissions(self, username):
          
  
          path = Client.urls['user_permissions'] % (username,)
          conns = self._call(path, 'GET')
          return conns
docs: :returns: list of dicts, or an empty list if there are no permissions.
  
          :param string username: User to set permissions for.