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

Marcus Christie commented on AIRAVATA-2595:
-------------------------------------------

[~nlad],

I think you should probably just set {{$experiment['expValue']['editable'] = 
false}} for each experiment, that way you don't need {{$can_write}}. 
experiment-container.blade.php is used in other places where the user may be 
given the option of editing the experiment, but we don't ever want to allow 
that in experiment statistics.  See also get_experiments_of_time_range where 
editable is always set to false: 
https://github.com/apache/airavata-php-gateway/blob/develop/app/libraries/AdminUtilities.php#L304.

To answer your question, $can_write is set in 
ExperimentController::browseView(). experiment-container.blade.php is included 
in the experiment/browse.blade.php template.

> 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)

Reply via email to