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 000b1c36 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent fe1a6072
......@@ -3905,8 +3905,9 @@ sub ModifyDataset($)
# All we can handle is extend and modify permission bits.
#
if (exists($argref->{'extend'})) {
return GeniResponse->Create(GENIRESPONSE_UNSUPPORTED)
if ($islease);
return GeniResponse->Create(GENIRESPONSE_UNSUPPORTED, undef,
"IM datasets cannot be extended")
if (!$islease);
$cmd = "$EXTENDDATASET ";
}
elsif (exists($argref->{'read_access'}) ||
......
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