silverstripe-framework/tests/php/Control/ControllerTest/AccessWildcardSecuredController.php

15 lines
349 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Control\Tests\ControllerTest;
use SilverStripe\Control\Tests\ControllerTest;
use SilverStripe\Dev\TestOnly;
class AccessWildcardSecuredController extends ControllerTest\AccessBaseController implements TestOnly
{
private static $allowed_actions = array(
"*" => "ADMIN", // should throw exception
);
2016-10-14 03:30:05 +02:00
}