airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (Jira)" <j...@apache.org>
Subject [jira] [Created] (AIRAVATA-3412) auto adding MANAGE_SHARING doesn't work for users that aren't owner
Date Tue, 23 Feb 2021 17:35:00 GMT
Marcus Christie created AIRAVATA-3412:
-----------------------------------------

             Summary: 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


```
 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.



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

Mime
View raw message