From 0d8bacc31ab336b159b9b529f9789e27fdc762a8 Mon Sep 17 00:00:00 2001 From: Sinisa Veseli <sveseli@aps.anl.gov> Date: Tue, 23 Jun 2015 20:19:39 +0000 Subject: [PATCH] add user experiment role --- src/python/dm/common/objects/userExperimentRole.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/python/dm/common/objects/userExperimentRole.py diff --git a/src/python/dm/common/objects/userExperimentRole.py b/src/python/dm/common/objects/userExperimentRole.py new file mode 100755 index 00000000..a73b773f --- /dev/null +++ b/src/python/dm/common/objects/userExperimentRole.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python + +from dmObject import DmObject + +class UserExperimentRole(DmObject): + + DEFAULT_KEY_LIST = [ 'user_id', 'experiment_id', 'role_type_id' ] + + def __init__(self, dict): + DmObject.__init__(self, dict) + -- GitLab