On Fri, Sep 16, 2011 at 4:24 PM, Jousef Lofstrom <jou...@netscape.net>wrote:

> Here is the permission string "bcfjkmnrtw".
>

According to the sources, permission k==write wiki and:

    if( (rid && g.perm.WrWiki) || (!rid && g.perm.NewWiki) ){
      style_submenu_element("Edit", "Edit Wiki Page", "%s/wikiedit?name=%T",
           g.zTop, zPageName);
    }

rid is the ... whatever this is:

    rid = db_int(0,
      "SELECT rid FROM tagxref"
      " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%Q)"
      " ORDER BY mtime DESC", zTag
    );

which i assume has a valid value for any valid tag.

i.e. this "looks okay to me." Have you got the latest fossil?

In the json branch there's a way to check your permissions: do a /json/cap
request.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to