[ 
https://issues.apache.org/jira/browse/AIRAVATA-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690049#comment-16690049
 ] 

ASF subversion and git services commented on AIRAVATA-2907:
-----------------------------------------------------------

Commit da40a7ba995556c05fd657bcd65e3fb9de461134 in airavata-django-portal's 
branch refs/heads/master from [~marcuschristie]
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=da40a7b ]

AIRAVATA-2907 Only allow Admins to edit GatewayResourceProfile


> UI for setting a gateway's StoragePreference
> --------------------------------------------
>
>                 Key: AIRAVATA-2907
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2907
>             Project: Airavata
>          Issue Type: Improvement
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Need a GatewayResourceProfile editor. Immediate need is to add storage 
> preferences.
> h5. TODO
> * [x] load list of storage resources for picking to create a new storage 
> preference
> * [x] only allow members of the Admins group to edit GatewayResourceProfile
> * [ ] delete storage preference
> * [ ] change backend to look for default key in GatewayResourceProfile (for 
> storage preferences only)
> h5. Workaround
> Here's what I told Eroma for the workaround I did for SimCCS:
> {noformat}
> [4:56 PM] Marcus Christie: @eroma if you need to deploy more django gateways, 
> you'll need to manually setup the STORAGE_PREFERENCE for each one.
> [4:56 PM] Marcus Christie: log into airav...@dbdev.scigap.org
> [4:56 PM] Marcus Christie: mysql app_catalog
> [4:56 PM] Marcus Christie: What I ran for SimCCS:
> [4:56 PM] Marcus Christie: insert into STORAGE_PREFERENCE values ('simccs', 
> 'pgadev.scigap.org_7ddf28fd-d503-4ff8-bbc5-3279a7c3b99e', NULL, 
> '/var/www/portals/gateway-user-data/django-simccs', 'pga');
> [4:57 PM] Marcus Christie: This assumes also that 1) you set a default 
> credential for the Group Resource Profile and 2) you copy that SSH public key 
> into pga's .ssh/authorized_keys file
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to