protected function derive($attr)
{
switch ($attr) {
case self::ATTRIBUTE_VISIBILITY:
//@todo This needs structural knowledge and should be in a
//structural class.
return strpos($this->uid, 'cn=internal') === false;
default:
return parent::derive($attr);
}
}