(!!) personal branches -- 1 line of code, 50 lines of test!
(and by the way even in g2 this was not so easy as just ONE line of code!)
This commit is contained in:
parent
876f6517f5
commit
9780ddab9d
2 changed files with 52 additions and 1 deletions
|
@ -68,7 +68,7 @@ sub access {
|
|||
trace( 3, scalar(@rules) . " rules found" );
|
||||
for my $r (@rules) {
|
||||
my $perm = $r->[1];
|
||||
my $refex = $r->[2];
|
||||
my $refex = $r->[2]; $refex =~ s(/USER/)(/$user/);
|
||||
trace( 4, "perm=$perm, refex=$refex" );
|
||||
|
||||
# skip 'deny' rules if the ref is not (yet) known
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue