Provides an additional Files admin area in the CMS in parallel with the CMS' standard Files admin area. It allows for some "advanced" file and folder features as follows:
- Individual permissions to files and folders using the CMS' standard security system
- Embargo and expiry on individual files and folders
- Individual access to the Advanced Assets CMS admin
- Integrates with the Subsites module
Note: 1. and 2. (above) need to be explicitly enabled. See the "Options" section below.
If installed alongside the standard "Secured Files" module, the latter's features and access will be disabled.
The module's features have been broadly broken into 2 components; Embargo / Expiry and Security. Each of these components are able to be individually enabled or disabled via the standard SilverStripe YML configuration system and are disabled by default. To enable them:
AdvancedAssetsFilesSiteConfig:
component_security_enabled: true
component_embargoexpiry_enabled: true
- Git Clone
#> git clone https://github.com/deviateltd/silverstripe-advancedassets.git
- Composer command
composer require deviateltd/silverstripe-advancedassets dev-master
- Composer (Manual)
Edit your project's composer.json
as follows:
Add a new line under the "require" block:
deviateltd/silverstripe-advancedassets
Add a new block under the "repositories" block:
{
"type": "vcs",
"url": "https://github.com/deviateltd/silverstripe-advancedassets.git"
}
Now run dev/build
via the browser or command line - and don't forget to flush.
Component icons courtesy thenounproject.com licensed under the Creative Commons 3.0.