lib/models/ObjectType.php
public function determineAccessLevel($role, $aro = null)
    {
        $objectTypeItem = Yii::$app->collectors['types']->getOne($this->name);
        if ($objectTypeItem && ($objectType = $objectTypeItem->object) && $objectType) {
            return $objectType->determineAccessLevel(null, $role, $aro);
        }

        return false;
    }
public function determineAccessLevel($role, $aro = null)
    {
        $objectTypeItem = Yii::$app->collectors['types']->getOne($this->name);
        if ($objectTypeItem && ($objectType = $objectTypeItem->object) && $objectType) {
            return $objectType->determineAccessLevel(null, $role, $aro);
        }

        return false;
    }
[[@doctodo method_description:determineAccessLevel]].

@param [[@doctodo param_type:role]] $role [[@doctodo param_description:role]]
@param [[@doctodo param_type:aro]]  $aro  [[@doctodo param_description:aro]] [optional]

@return [[@doctodo return_type:determineAccessLevel]] [[@doctodo return_description:determineAccessLevel]]