Add fine-grained export controls. You can now specify whether you want specific

assets to be exportable. If any of an asset's parents aren't exportable, that
asset also won't be exportable.
This commit is contained in:
Chris Nehren 2008-01-02 22:32:40 +00:00
parent ba44d57e9f
commit 7accc3c57f
6 changed files with 53 additions and 4 deletions

View file

@ -652,6 +652,13 @@ isa_ok(WebGUI::Asset->getNotFound($session), 'WebGUI::Asset', 'getNotFound: Retu
$session->setting->set('notFoundPage', $origNotFoundPage);
################################################################
#
# isExportable
#
################################################################
is($rootAsset->get('isExportable'), 0, 'isExportable exists, defaults to 0');
END: {
$session->config->set( 'extrasURL', $origExtras);
$session->config->set( 'uploadsURL', $origUploads);