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:
parent
ba44d57e9f
commit
7accc3c57f
6 changed files with 53 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue