[pmwiki-users] conditional markup question

noskule noskule at gmx.net
Tue Apr 18 09:36:19 CDT 2006


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





More information about the pmwiki-users mailing list