silverstripe-framework/tests/php/Security/MemberTest/ViewingAllowedExtension.php
2024-08-28 17:00:39 +12:00

16 lines
276 B
PHP

<?php
namespace SilverStripe\Security\Tests\MemberTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Core\Extension;
class ViewingAllowedExtension extends Extension implements TestOnly
{
protected function canView($member = null)
{
return true;
}
}