mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT secured URL actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52201 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
72f6f06f44
commit
6e85a576b5
@ -130,6 +130,10 @@ class VirtualPage extends Page {
|
||||
*/
|
||||
class VirtualPage_Controller extends Page_Controller {
|
||||
|
||||
static $allowed_actions = array(
|
||||
'loadcontentall' => 'ADMIN',
|
||||
);
|
||||
|
||||
/**
|
||||
* Reloads the content if the version is different ;-)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user