silverstripe-dms/code
Andrew Short 00bffb2548 BUG: Fix access to documents on the staging site.
The DMS document controller had been changed to subclass ContentController
to correctly initialise the versioned stage. However, this had the side
effect of preventing access to documents when the "Stage" stage
was selected.

ContentController::init() calls the SiteTree::canViewStage() method, which
controls access when on the stage. However, since the data record was
non-existant, the method would always return false, preventing access to
documents.

This fix removes the subclassing of ContentController and just directly
initialises the versioned stage.
2013-10-11 21:58:13 +11:00
..
cms BUG: Share session namespace with CMS main when adding documents. 2013-10-09 00:49:39 +11:00
exceptions API-CHANGE: DMS interface and mock implementation 2012-07-16 18:21:48 +12:00
interface BUGFIX: fixing API matching 2012-10-10 13:44:02 +13:00
tools BUG getList() now returns the filtered DataList 2013-03-08 21:27:18 -06:00
DMS.php ENHANCEMENT: using a defined directory for the dms so you can change the directory, if you want 2012-11-21 10:22:40 +13:00
DMSDocument_versions.php Fix deprecation warnings for master 2013-08-22 23:50:14 +12:00
DMSDocument.php BUG: Fix access to documents on the staging site. 2013-10-11 21:58:13 +11:00
DMSShortcodeHandler.php NEW: Add metadata to DMS links. 2013-10-09 20:54:08 +11:00
DMSSiteTreeExtension.php Fix deprecation warnings for master 2013-08-22 23:50:14 +12:00
DMSTag.php Fix deprecation warnings for master 2013-08-22 23:50:14 +12:00