[pmwiki-users] Permission to see source...

The Editor editor at fast.st
Wed Apr 11 12:02:09 CDT 2007


On 4/11/07, Tegan Dowling <tmdowling at gmail.com> wrote:
> On 4/11/07, Aleks <aczaszyn at telus.net> wrote:
> > -----Original Message-----
> > >
> > > Can someone remind me what the code is to verify someone has
> > > permissions to see the source code for a page?
> >
> > ?action=source
> >
>
> Dan: Also, in config.php, you can set
>
>                 $HandleAuth['source'] = 'edit';  #for example
>
> Is this what you meant?



Actually, I have a markup I only want to work if someone has
permission to see the source of a page.  I need something like  if
(condauth('source')) ... but there is no source level, so I need a
different approach...

Cheers,
Dan



More information about the pmwiki-users mailing list