Changeset 3bce099


Ignore:
Timestamp:
Dec 5, 2008 6:52:44 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
89d33df
Parents:
f029827
Message:

properly identify experiment creator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/experiment_control.py

    rf029827 r3bce099  
    10021002
    10031003        for u in p['user']:
    1004             tbparam[tb]['user'] = unpack_id(u['userID'])
     1004            role = u.get('role', None)
     1005            if role == 'experimentCreation':
     1006                tbparam[tb]['user'] = unpack_id(u['userID'])
     1007                break
     1008        else:
     1009            raise service_error(service_error.internal,
     1010                    "No createExperimentUser from %s" %tb)
    10051011
    10061012        for a in e['fedAttr']:
Note: See TracChangeset for help on using the changeset viewer.