Hi Dawid,

The broker can delegate access to the inputs and outputs, it just needs 
to do it explicitly (using addPolicyRule). It doesn't happen 
automatically when you transfer control of the job.

In summary, you can:

- Transfer ownership of just the job,
- Transfer ownership of some inputs and outputs,
- Transfer ownership of the job and all inputs and outputs,
- Share ownership between the broken and the user, or
- Any other combination.

You could even create a new role (e.g. "broker") if you wanted the broker 
to retain limited access to the job even after the transfer.


On Tue, 26 Aug 2008 15:26:09 +0200, dejw wrote:

> Hmmm, so in our use case it is also not quite useful then, so I can see
> that it is no possible to do any kind of delegation.
> 
> Is it possible to add maybe two owners then? broker and user maybe? If
> yes what then, both can start and manage job and use stagers connected
> with it?
> 
> One thing I can't understand also in in your replay: output stagers -
> stage out data (which was generated during job execution) can't be used
> by the user who owns the job?
> Who is the owner of all data stagers created during the job execution?
> 
> Dawid
> 
> Thomas Leonard wrote:
>> Not quite; the broker has to transfer access to the stagers explicitly.
>>
>> If you only transfer ownership of the job then the user can start,
>> monitor and destroy the job, but they can't access the inputs or
>> outputs.
>>
>> Destroying a job will cause the job service to destroy the inputs and
>> outputs, regardless of whether the user has access to them or not.
>>


-- 
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Southampton
Hampshire SO16 7NP

Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:[EMAIL PROTECTED]
http://www.it-innovation.soton.ac.uk 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gria-general mailing list
gria-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gria-general

Reply via email to