Changeset 1336

Show
Ignore:
Timestamp:
12/03/07 23:40:47 (1 year ago)
Author:
rho
Message:

Patch #187, allow admins to access any object

Signed-off: Rolando Espinoza La Fuente <rho@prosoftpeople.com>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/elgglib.php

    r1307 r1336  
    43204320     
    43214321    static $permissions_check; 
     4322 
     4323    // admins have access to everything 
     4324    if (isadmin()) { 
     4325        return true; 
     4326    } 
    43224327     
    43234328    if (isset($permissions_check[$objecttype][$owner])) {