Re: Problem with images
Jim Wight <[email protected]> Thu, 7 Aug 2014 12:52:49 +0100
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <CALgsy1_pjS=r9YzasAjOGaU28m2kjEpTVM1Y_NCvW=OvqmPr8g@mail.gmail.com> |
On 7 August 2014 01:38, John Hurst <[email protected]> wrote: > This sounds like a macro I could use, but for one thing: can the toggling > be made dependent upon who is reading the page? > > My application is where there is some confidential information that should > only be revealed when the reader is in a certain (acl) group. It would be > good if the macro could test who the reader was, and only allow a toggle of > the SeeSaw information if the reader is in that acl group. > It could be done this way, putting the confidential information in a separate acl-controlled page: <<SeeSaw(confidential)>> {{{#!wiki seesaw confidential <<Include(Confidential)>> }}} Alternatively, if you don't want the SeeSaw link to be shown when the user shouldn't see the information - it does nothing but toggle itself in that situation - put the SeeSaw call in the included page, like this: <<SeeSaw(confidential)>> {{{#!wiki seesaw confidential The confidential information. }}} The page should then be included normally, i.e. without any {{{#!wiki wrapping. Jim ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user