Benjamin,

unfortunately there's no way to check that without
submitting a dummy job (like /bin/true).
And all in all it might not be so easy to do this if
you're really serious about it. If a job includes file
staging you would have to check with RFT and GridFTP
servers also.

Martin

> On Mon, Mar 17, 2008 at 4:36 AM, Benjamin Henne
> <[EMAIL PROTECTED]> wrote:
>>
>>  Is there any way to ask a GRAM directly whether an user has rights to
>>  access it? I  mean something simple like "Am I in your grid-mapfile?".
>
> You're assuming that all GRAM services are protected by a
> grid-mapfile, which is not true.
>
>>  Or is the only way to discover wheter an user has rights to access and
>>  use a GRAM the submission of a test job and looking if the jobs runs or
>>  fails?
>
> Well, it seems you'd actually have to make a request to GRAM to
> exercise the configured authorization chain (which may or may not
> include gridmap processing).
>
>>  I am doing tests with GridWay metascheduler. Currently the
>> metascheduler
>>  does not know which user has rights on which maschine and hence only
>>  tries using a GRAM and if it fails it tries the next one. I guess a
>>  minimal enhancement would be the possibility to ask a GRAM for rights
>>  instead of waiting for failure when trying to create the working
>> directory.
>
> I don't know if GRAM supports a no-op but it should be possible to
> implement something analogous to an HTTP HEAD request.  Just a
> thought...
>
> Tom
>
>


Reply via email to