コード例 #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
ファイル: dbdriver.py プロジェクト: AsherBond/dodai-compute
 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'])