[
https://issues.apache.org/jira/browse/AIRAVATA-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eroma closed AIRAVATA-3119.
---------------------------
Resolution: Fixed
Tested in https://django.staging.seagrid.org and trie to share a key created by
my login with the login username itself and it was not filtering. So cannot
share the key with the creator.
> Newly created Credential store Key Sharing does not work
> --------------------------------------------------------
>
> Key: AIRAVATA-3119
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3119
> Project: Airavata
> Issue Type: Sub-task
> Components: Django Portal
> Affects Versions: 0.18
> Environment: https://django.staging.seagrid.org
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Minor
> Fix For: 0.18
>
> Attachments: Screen Shot 2019-07-12 at 1.11.46 AM.png
>
>
> 1. Gateway super admin user (Admin Admin) created a new credential SSH key.
> 2. Clicked on 'Share' button and shared the key with himself and another user.
> 3. When clicked on 'Save' both users get saved and next the 'Share' shows 2.
> Indicating it was shared with two users.
> 4. When refreshed, however only the other user appears, and his own sharing
> is gone.
> When tried to use this same key for a compute resource preference, getting
> AuthorizationException(message='User does not have READ permission to
> credential token 6a49b998-b4ba-467d-8d45-687fb9d09db5.')
> 5. Key cannot be shared, anyway the same user created it and sharing with own
> account seem unnecessary.
> 6. Then again wont let the same user add the key to resource as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)