X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpgitwebservice.php;h=729e58d25ec4b64bc72aa2602419919b17adc660;hp=7c34d9b07bfaca1dd2dd98f21b0a9ceeaa726b6a;hb=5c414a851566a4acc4e50c18a519bf3a4ab487a0;hpb=fc420d5a27f9249d63c088a892e40b5ba0ec7dc8 diff --git a/gwvplib/gwvpgitwebservice.php b/gwvplib/gwvpgitwebservice.php index 7c34d9b..729e58d 100644 --- a/gwvplib/gwvpgitwebservice.php +++ b/gwvplib/gwvpgitwebservice.php @@ -28,7 +28,16 @@ function gwvp_gitControlCallMe() function gwvp_GitLogProvider() { - echo "
gitload provider loaded on homepage
"; + /* + * The home page provider will: + * 1) show the last 10 commits for every repository - though, excluding private repos + * 2) if loged in, show the last commit on any repo's the user owns + * + * So i need a table thats going to list "writes" by user - as in POST writes but only + * put that info into the stats (doesnt exist) db if the repo is publically readable + * + * Or... should we instead just list every repo? + */ } function gwvp_repoPermissionCheck($repo, $user) @@ -136,7 +145,7 @@ function gwvp_gitBackendInterface() return; } else { $perms = gwvp_resolvRepoPerms(gwvp_getUserId(null, $person), $repoid); - if($perms < 3) { + if($perms < 2) { $dump = print_r($person, true); error_log("in basic read, called 403 for $perms $dump"); gwvp_fourZeroThree();