airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasini Gunasinghe <hasi7...@gmail.com>
Subject Re: Admin-only methods in the Airavata API
Date Mon, 03 Aug 2015 10:42:33 GMT
Hi Supun,

Thank you for letting me know these details. I will update the default
authorization policy accordingly.

Thanks,
Hasini.

On Sat, Aug 1, 2015 at 1:16 PM, Supun Nakandala <supun.nakandala@gmail.com>
wrote:

> Hi Hasini,
>
> In addition to AdminUtilities and AppUtilities the functionality in
> CRUtilities [1] (Computational Resource) should also come under admin
> functionality. In the current deployment (testdrive.airavata.org) we have
> three user roles Internal/Everyone, admin, admin-read-only. admin-read-only
> can only read the admin level information but cannot update them. Currently
> this access control is enforced only at the PGA.
>
> Thanks
> Supun
>
> [1] -
> https://github.com/apache/airavata-php-gateway/blob/master/app/libraries/CRUtilities.php
>
> On Sat, Aug 1, 2015 at 10:35 PM, Eroma Abeysinghe <
> eroma.abeysinghe@gmail.com> wrote:
>
>> Hi Hasini,
>>
>> I gave you admin-read-only permissions in the testdrive.airavata.org
>> gateway.
>> You would be able to view all available functionality for the admin. gave
>> access to username hasinig
>>
>> In the gateway we have hidden credential store UI. so you should check
>> those API methods as well.
>> Hope this helps
>>
>> Thank you,
>> Eroma
>>
>>
>>
>>
>>
>> On Sat, Aug 1, 2015 at 12:51 PM, Hasini Gunasinghe <hasi7786@gmail.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> I need to identify the admin-only methods in the current Airavata API
>>> when composing the default XACML policy of the security solution.
>>>
>>> As I got to know during the GSoC hangout last Friday, I extracted the
>>> following method names as the admin methods from AdminUtilities [1] and
>>> AppUtilities [2] of PHP Gateway source. (I could not identify them through
>>> the account created at testdrive.airavata.org because I think my
>>> account is not an admin account)
>>>
>>> Can you please let me know if I have missed any admin methods in the
>>> following list? If so, can you please point out from where to extract the
>>> other admin method names?
>>>
>>> addGateway
>>> deleteGateway
>>> updateGateway
>>> getExperimentStatistics
>>> registerApplicationModule
>>> deleteApplicationModule
>>> getAllApplicationInterfaces
>>> updateApplicationInterface
>>> deleteApplicationInterface
>>> getAllComputeResourceNames
>>> getAllApplicationDeployments
>>> updateApplicationDeployment
>>> registerApplicationDeployment
>>> deleteApplicationDeployment
>>> getAllAppModules
>>> getApplicationInterface
>>> getApplicationInputs
>>> getApplicationOutputs
>>>
>>> [1]
>>> https://github.com/apache/airavata-php-gateway/blob/master/app/libraries/AdminUtilities.php
>>> [2]
>>> https://github.com/apache/airavata-php-gateway/blob/master/app/libraries/AppUtilities.php
>>>
>>> Thanks & Best Regards,
>>> Hasini.
>>>
>>
>>
>>
>> --
>> Thank You,
>> Best Regards,
>> Eroma
>>
>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>

Mime
View raw message