ACCESS_CHECK split into ACCESS_1 and ACCESS_2; docs updated

This commit is contained in:
Sitaram Chamarty 2012-03-27 16:18:25 +05:30
parent fd98b21bf2
commit 1cf062fad5
4 changed files with 68 additions and 43 deletions

View file

@ -91,7 +91,7 @@ sub main {
my $ret = access( $repo, $user, $aa, 'any' );
trace( 1, "access($repo, $user, $aa, 'any')", "-> $ret" );
gl_log( 'check1', $repo, $user, $aa, 'any', '->', $ret );
trigger( 'ACCESS_CHECK', $repo, $user, $aa, 'any', $ret );
trigger( 'ACCESS_1', $repo, $user, $aa, 'any', $ret );
_die $ret . "\n(or you mis-spelled the reponame)" if $ret =~ /DENIED/;
check_repo_write_enabled($repo) if $aa eq 'W';