[ 
https://issues.apache.org/jira/browse/AIRAVATA-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Christie updated AIRAVATA-3412:
--------------------------------------
    Description: 
{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.


  was:
```
 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') 
```

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.


> 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