code: def grant_admin_privileges(self, username):
          
          text = "GRANT ALL PRIVILEGES TO {0}".format(quote_ident(username))
          self.query(text, method="POST")
docs: Grant cluster administration privileges to a user.
  
          :param username: the username to grant privileges to
          :type username: str
  
          .. note:: Only a cluster administrator can create/drop databases
              and manage users.