All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit e4806b78 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix to ShowExperiments; reversed permission test that controlled what

experiments a user sees.
parent dbf76dcb
......@@ -402,7 +402,7 @@ class OSinfo
if (! ($experiment = Experiment::LookupByPidEid($pid, $eid))) {
continue;
}
if ($experiment->AccessCheck($user, $TB_EXPT_READINFO)) {
if (! $experiment->AccessCheck($user, $TB_EXPT_READINFO)) {
$other_exps++;
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment