Thus said "Andy Bradford" on 09 Sep 2014 22:22:43 -0600:

> It  seems  like this  should  work,  but  I  haven't found  the  right
> combination of permissions yet.

As it turns out, this just  doesn't seem possible with Fossil currently.
Would there be any interest in something like:

$ f diff
Index: src/doc.c
==================================================================
--- src/doc.c
+++ src/doc.c
@@ -374,11 +374,11 @@
   int i;                            /* Loop counter */
   Blob filebody;                    /* Content of the documentation file */
   char zBaseline[UUID_SIZE+1];      /* Baseline UUID */
 
   login_check_credentials();
-  if( !g.perm.Read ){ login_needed(); return; }
+  if( !g.perm.Read && !g.perm.RdWiki ){ login_needed(); return; }
   zName = PD("name", "tip/index.wiki");
   for(i=0; zName[i] && zName[i]!='/'; i++){}
   if( zName[i]==0 || i>UUID_SIZE ){
     zName = "index.html";
     goto doc_not_found;


Perhaps  RdWiki is  not  the right  permission for  this  (should it  be
separate)? Perhaps /doc is not the right page for this?

Andy
-- 
TAI64 timestamp: 40000000540fef27


_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to