Needs work
Project:
Maestro
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2012 at 12:10 UTC
Updated:
13 Aug 2012 at 14:49 UTC
Cause this way, doing operations by multiple users is impossible, as the class is singleton.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-engine-do-not-pre-store-the-userId-as-maestro-class-.patch | 1.05 KB | aron novak |
Comments
Comment #1
aron novakThis one needs work, the current patch breaks the things as the getter is not invoked. The base class has to be modified as well, i have the code, i just need to forge a patch.
Comment #2
_randy commentedYou're right -- there is an assumption of who it is we're latching on to in the engine.
I will have to double check, but can't we just directly set the user ID in a new method of setUserID? The default would be current user. I suppose the constructor of Maestro could also be used to set the desired UID.