Allow other users to save photos into another user's album. Fixes bug #11228.

This commit is contained in:
Colin Kuskie 2009-11-13 17:16:56 -08:00
parent c4ab124380
commit 1f49737ae7
4 changed files with 16 additions and 11 deletions

View file

@ -32,6 +32,7 @@ WebGUI::Test->usersToDelete($user{'2'});
my $versionTag = WebGUI::VersionTag->getWorking($session);
$versionTag->set({name=>"Album Test"});
addToCleanup($versionTag);
my $gallery
= $node->addChild({
className => "WebGUI::Asset::Wobject::Gallery",
@ -104,10 +105,3 @@ $maker->prepare({
fail => [ 1, ],
});
$maker->run;
#----------------------------------------------------------------------------
# Cleanup
END {
$versionTag->rollback();
}