示例#1
0
 def remove_from_project(self, uid, project_id):
     """Remove user from project"""
     user, project = self._validate_user_and_project(uid, project_id)
     db.project_remove_member(context.get_admin_context(), project['id'],
                              user['id'])
示例#2
0
 def remove_from_project(self, uid, project_id):
     """Remove user from project"""
     user, project = self._validate_user_and_project(uid, project_id)
     db.project_remove_member(context.get_admin_context(),
                              project['id'],
                              user['id'])