public function canCreateEnvironments($member = null)
{
$envType = $this->AllowedEnvironmentType;
if ($envType) {
$env = Injector::inst()->get($envType);
if ($env instanceof EnvironmentCreateBackend) {
return $this->allowed(DNRoot::ALLOW_CREATE_ENVIRONMENT, $member);
}
}
return false;
}