Changeset 321 for LATMOS-Accounts/lib/LATMOS/Accounts/Acls.pm
- Timestamp:
- 08/10/09 01:04:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LATMOS-Accounts/lib/LATMOS/Accounts/Acls.pm
r317 r321 43 43 =item an attribute of the accessed object which should contains the username, 44 44 prefixed by '$' 45 46 =item C<*> to math any user 47 48 =item @authenticated or @anonymous for any authenticated user and non 49 authenticated user ('*' include both) 45 50 46 51 =back … … 193 198 } elsif ($u->{user} eq '*' || $u->{user} eq $who) { 194 199 return $u->{$perm} || 0; 200 } elsif (lc($u->{user}) eq '@authenticated' && $who) { 201 return $u->{$perm} || 0; 202 } elsif (lc($u->{user}) eq '@anonymous' && $who eq "") { 203 return $u->{$perm} || 0; 195 204 } else { 196 205 return
Note: See TracChangeset
for help on using the changeset viewer.