On Sun, Jan 14, 2007 at 01:10:49PM -0500, Sandy wrote: > Reda El Khayyat wrote: > > sorry for this double post but I didn't receive any answer on my > > previous question. I was looking for something to include in a parent > > page and show the authorized usernames agains each link (or show if the > > reader has read/edit access for each link). I know there is already the > > attr page that shows the access rights, but is there any variable I > > could use in another page? > > > > How can put some conditional markup to test edit rights for another page > > (similar to the pageactions) and how much do you think will slow down my > > page if I have 50+ links?
PmWiki doesn't really have anything like this built-in -- i.e., to be able to check permissions on each individual link and display the result. I suppose it could be added as a highly specialized page variable, though. How do you want the link to appear in each case? In other words, what do you want to be output when the browser has no access rights, read rights, and edit rights? Note that this could significantly slow down page rendering times for pages with lots of page links, as PmWiki has to then check the permissions of each individual link. Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
