[pmwiki-users] conditional markup question

Tegan Dowling tmdowling at gmail.com
Tue Apr 18 11:26:15 CDT 2006


It is currently the case that if you generate a list of links via a
Pagelist, then the result will only include pages for which the user
has read-access.  I've used this to generate a user-specific set of
navigation links.

On 4/18/06, noskule <noskule at gmx.net> wrote:
> Patrick R. Michaud schrieb:
>
> >On Tue, Apr 18, 2006 at 04:16:30PM +0200, noskule wrote:
> >
> >
> >>hi list
> >>Is there a way to build a condition that says:
> >>
> >>         (:if auth read on page AGroup.APage:) [[AGroup.APage]](:ifend:)
> >>
> >>I would like do have links in a sidebar that only shows up if the user
> >>has permission to view that page.
> >>
> >>
> >
> >It's being added for 2.1.6.
> >
> >Pm
> >
> >
> >
> >
> cool, right now I found out to use an ifstatement that looks for the
> authentification of the target. So what I want is allready possible. I'm
> not quiet shure whats the better solution.
>
> In general one nice thing may could be that "automaticly" only links are
> displayed that the user has the right to view. Means that I dont have to
> do a if statement around every link.
> Is this somhow possible?
> grz nos
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list