[dokuwiki] Re: XMLRPC ideas

  • From: Michael Klier <chi@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 1 Jun 2008 16:38:03 +0200

Andreas Gohr wrote:
> > We could solve the problem if the listPages() function (which lists
> > all available wiki pages) would return the wiki pages along with
> > their respective permissions for the current user and if the
> > rawPage() function (which returns the raw wiki text) would return the
> > permissions as well (I assume here that a client app would use
> > rawPage to also "create" new pages). To get the functionality in the
> > listPages() function one would have to duplicate and slightly modify
> > the ft_pageLookup() function found in inc/fulltext.php.
> 
> This sounds reasonable, I wonder if having an explicit checkpermissions
> call would be useful in addition to the proposed changes?

Hmmmm, yep, might be worth to be added as well.

    Chi

-- 
Michael Klier

www:    http://www.chimeric.de
jabber: chi@xxxxxxxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: