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

Do not return imported images in listimages; needs more thought.

parent 09f22397
......@@ -3946,6 +3946,11 @@ sub ListImages($)
}
my @result = ();
foreach my $image (@images) {
# Do not include imported images in this list, user cannot delete them.
# Need to think about this.
next
if (!$image->IsLocal());
my $image_urn = GeniHRN::Generate($OURDOMAIN, "image",
$image->pid() . "//" . $image->imagename());
my $image_url = "$TBBASE/image_metadata.php?uuid=" . $image->uuid();
......
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