You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/23 17:37:00 UTC

[jira] [Commented] (AIRAVATA-3412) auto adding MANAGE_SHARING doesn't work for users that aren't owner

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

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

Commit a14f6ad55b957fa2931d741b81806b9f6be8cf68 in airavata-django-portal's branch refs/heads/develop from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata-django-portal.git;h=a14f6ad ]

AIRAVATA-3412 Only update admins to MANAGE_SHARING if owner


> auto adding MANAGE_SHARING doesn't work for users that aren't owner
> -------------------------------------------------------------------
>
>                 Key: AIRAVATA-3412
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3412
>             Project: Airavata
>          Issue Type: Bug
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> {code}
>  AiravataSystemException(airavataErrorType=2, message='Error in sharing resource with groups. Resource ID : comet.sdsc.edu_Abaqus-6.13-3_9f90915f-7a1d-44c4-a8f5-b20e0a3661a9 More info : User is not allowed to change sharing because the user is either not the resource owner or does not have access to share the resource') 
> {code}
> The ShareButton.vue has logic to automatically update Admin Users permission from WRITE to MANAGE_SHARING for entities (like application deployment) that automatically get shared with admins. However, only the owner will be able to update the sharing.  When a non-owner tries to update the sharing, the above error results.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)