CBPRestActivity :: checkAdminPermissions: Bitrix method

      
<?php 
//  CBPRestActivity :: checkAdminPermissions()
//  /dist/bitrix/modules/bizproc/classes/general/restactivity.php:706

    
private static function checkAdminPermissions()
    {
        
$user = new CBPWorkflowTemplateUser(CBPWorkflowTemplateUser::CurrentUser);
        return 
$user->isAdmin();
    }