Ignore:
Timestamp:
05/10/20 13:24:08 (4 years ago)
Author:
nanardon
Message:

Fix acl bypass

Location:
trunk/LATMOS-Accounts/lib/LATMOS/Accounts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Acls.pm

    r2348 r2351  
    183183                la_log( 
    184184                    LA_DEBUG, 
    185                     "Acl: %s %s for %s => %s :\n%s", 
    186                     ref $obj ? $obj->type . '/' . $obj->id : $obj, 
     185                    "Acl: %s %s for %s by %s => %s :\n%s", 
     186                    (ref $obj ? $obj->type . '/' . $obj->id : $obj), 
    187187                    $attr, 
    188188                    $perm, 
    189189                    $res, 
     190                    $who, 
    190191                    $acl->dump, 
    191192                ); 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases.pm

    r2344 r2351  
    12741274        if ($who && (my $uo = $self->{_acl_cache}{obj})) { 
    12751275            $groups = $self->{_acl_cache}{groups}; 
     1276        } elsif ($who eq '$ROOT') { 
    12761277        } else { 
    12771278            $who = ''; 
Note: See TracChangeset for help on using the changeset viewer.