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

Marcus Christie commented on AIRAVATA-2842:
-------------------------------------------

I'm reviewing the backend and making sure we have application deployments and 
application modules in terms of applying and checking sharing permissions. Here 
are the relevant methods I checked:
* [x] deleteApplicationDeployment - requires WRITE permission
* [x] getAccessibleApplicationDeployments - checks GroupResourceProfile and 
ApplicationDeployment permissions
* [x] getAccessibleAppModules - same check as 
getAccessibleApplicationDeployments by joining ApplicationModules to 
ApplicationDeployments
* [x] getAllApplicationDeployments - calls getAccessibleApplicationDeployments
* [ ] getAllAppModules - should call getAccessibleAppModules
* [x] getApplicationDeployment - checks ApplicationDeployment permissions
* [ ] getAppModuleDeployedResources - should restrict to only accessible 
application deployments
** Question: do we still need this?
*** Maybe not, it's not called in PHP code
* [ ] getAvailableAppInterfaceComputeResources - should restrict to only 
accessible application deployments
* [x] registerApplicationDeployment - registers entity and shares with 
GatewayGroups
* [x] updateApplicationDeployment - requires WRITE permission


> Django: Only display to user the list of applications that that user can 
> launch
> -------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2842
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2842
>             Project: Airavata
>          Issue Type: Story
>            Reporter: Marcus Christie
>            Priority: Major
>
> Use the work done in AIRAVATA-2690 to only display applications where
> * application is deployed on a compute resource that belongs to a 
> GroupResourceProfile that is shared with the user
> * and, the application deployment of that application is also shared with the 
> user



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to