mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
16 lines
279 B
PHP
16 lines
279 B
PHP
<?php
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
class SiteTreeTest_ClassA extends Page implements TestOnly
|
|
{
|
|
private static $need_permission = [
|
|
'ADMIN',
|
|
'CMS_ACCESS_CMSMain'
|
|
];
|
|
|
|
private static $allowed_children = [
|
|
SiteTreeTest_ClassB::class
|
|
];
|
|
}
|