[
https://issues.apache.org/jira/browse/AIRAVATA-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290029#comment-16290029
]
Marcus Christie commented on AIRAVATA-2595:
-------------------------------------------
[~nlad],
Unfortunately this turns out to be a lot more difficult to implement with the
current design than I anticipated. There are two methods in the RegistryService
for searching for experiments. The first one, searchExperiments, is protected
so that it only returns experiments that that user has access to and so is
meant to be used by regular gateway users. The second one,
getExperimentStatistics, searches across all users' experiments and is meant to
be used by administrators.
In this case, using searchExperiments would be the obvious choice from an API
angle, but the security around it prevents it from being used by an admin. From
a security standpoint getExperimentStatistics is the more appropriate choice
but the API would be rather convoluted to just do a substring experiment id
search.
At this point, I'm not sure if it is worth investing more time in this.
> User should be able to search for experiments using the partial 'Experiment
> ID' substring and see all experiments which contain that substring.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-2595
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2595
> Project: Airavata
> Issue Type: Bug
> Reporter: Neeraj Lad
> Assignee: Neeraj Lad
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)