Changeset 26328


Ignore:
Timestamp:
06/12/10 00:37:01 (7 years ago)
Author:
flack
Message:

don't check privileges twice when listing keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/midcom.core/midcom/core/collector.php

    r26289 r26328  
    343343            }
    344344
    345             if (    $this->_user_id
    346                 && !$_MIDCOM->auth->acl->can_do_byguid('midgard:read', $object_guid, $classname, $this->_user_id))
    347             {
    348                 debug_add("Failed to load result, read privilege on {$object_guid} not granted for the current user.", MIDCOM_LOG_INFO);
    349                 $this->denied++;
    350                 continue;
    351             }
    352 
    353345            // We need to skip this one, because we are outside the offset.
    354346            if (   $this->_offset > 0
Note: See TracChangeset for help on using the changeset viewer.