17 require_once SQ_CORE_PACKAGE_PATH.
'/folder/folder.inc';
56 $link = $GLOBALS[
'SQ_SYSTEM']->am->getLink($this->
id, SQ_LINK_TYPE_2,
'user', FALSE,
'',
'minor',
'1');
57 if (empty($link))
return $user;
58 $user = $GLOBALS[
'SQ_SYSTEM']->am->getAsset($link[
'majorid'], $link[
'major_type_code']);
93 return parent::_checkPermissionAccess($perm, $assetids);
96 return $user->_checkPermissionAccess($perm, $assetids);