[
https://issues.apache.org/jira/browse/AIRAVATA-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15648872#comment-15648872
]
Marcus Christie commented on AIRAVATA-2190:
-------------------------------------------
While testing I got an error when trying to change the name of a project
{noformat}
2016-11-08 16:38:41 [pool-6-thread-49] ERROR o.a.a.a.s.h.AiravataServerHandler
- Error while updating the project
org.apache.airavata.registry.api.exception.RegistryServiceException: Error
while updating the project. More info : Error while updating the
resource..PROJECT
at
org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37455)
at
org.apache.airavata.registry.api.RegistryService$updateProject_result$updateProject_resultStandardScheme.read(RegistryService.java:37441)
at
org.apache.airavata.registry.api.RegistryService$updateProject_result.read(RegistryService.java:37391)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:86)
at
org.apache.airavata.registry.api.RegistryService$Client.recv_updateProject(RegistryService.java:3145)
at
org.apache.airavata.registry.api.RegistryService$Client.updateProject(RegistryService.java:3131)
at
org.apache.airavata.api.server.handler.AiravataServerHandler.updateProject(AiravataServerHandler.java:734)
at
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8.CGLIB$updateProject$145(<generated>)
at
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8$$FastClassByGuice$$79de5f4f.invoke(<generated>)
at
com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
at
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
at
org.apache.airavata.api.server.security.interceptor.SecurityInterceptor.invoke(SecurityInterceptor.java:57)
at
com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:75)
at
com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:55)
at
org.apache.airavata.api.server.handler.AiravataServerHandler$$EnhancerByGuice$$e96a31b8.updateProject(<generated>)
at
org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16686)
at
org.apache.airavata.api.Airavata$Processor$updateProject.getResult(Airavata.java:16670)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}
> User A shared a single experiment with User B, read access. Project is also
> shared now with User B.
> ---------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-2190
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2190
> Project: Airavata
> Issue Type: Bug
> Components: PGA PHP Web Gateway
> Environment: https://dev.seagrid.org
> Reporter: Eroma
> Assignee: Marcus Christie
> Fix For: 0.17-SNAPSHOT
>
>
> Steps
> 1. User A shared a single experiment with user B. With read access
> 2. User B now has access to User A's project which experiment belongs
> 3. User B can create new experiments under the Project.
> 4. User B can cancel the shared experiment irrespective of having only read
> access
> 5. user B can clone the shared experiment and create a new experiment under
> the same project and remove sharing of the project owner.
> 6. Original user A cannot see the cloned experiment under his own project
> User B should not be able to create any experiments under the project the
> shared experiment belongs.
> No should be able to cancel the shared experiment, only has read access.
> If cloned should create it under own project; not with user A's project
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)