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

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

Commit a14f6ad55b957fa2931d741b81806b9f6be8cf68 in airavata-django-portal's 
branch refs/heads/staging 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)

Reply via email to