Commit 000b1c36 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

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