Ignore:
Timestamp:
03/25/10 16:21:07 (14 years ago)
Author:
rufino
Message:

Ticket #609 - Desconsiderar checagem de acesso em atividades não interativas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/609/inc/engine/src/common/WfSecurity.php

    r2323 r2344  
    7575  function checkUserAccess($user, $activity_id, $readonly=false)  
    7676  { 
     77        /* if activity is non-interactive is not necessary checking user access */ 
     78        $activity = &Factory::getInstance('BaseActivity')->getActivity($activity_id); 
     79        if (!$activity->isInteractive()) 
     80                return true; 
     81 
    7782    //group mapping, warning groups and user can have the same id 
    7883    if ($user[0] != 'p') 
Note: See TracChangeset for help on using the changeset viewer.