updated desc
[gwvp.git] / gwvplib / gwvpgitwebservice.php
index 7c34d9b..729e58d 100644 (file)
@@ -28,7 +28,16 @@ function gwvp_gitControlCallMe()
 
 function gwvp_GitLogProvider()
 {
-       echo "<br>gitload provider loaded on homepage<br>";
+       /*
+        * 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();