Re: Only display text to a certain group
"Foster Schucker" <[email protected]> Wed, 29 Aug 2007 08:24:13 +0700
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Back in the 2.0 version I had written an Auth plugin to allow me to control the display inside a page. http://www.schucker.org/Wiki.jsp?page=AuthPlugin (internal details http://www.schucker.org/Wiki.jsp?page=AuthPluginDetail ) The existing page level control is great, but I'm hanging onto the 2.0.x until partial page displays are developed. Foster ---------- Original Message ----------- From: Alex Samad <[email protected]> To: [email protected] Sent: Wed, 29 Aug 2007 07:45:29 +1000 Subject: Re: [Jspwiki-users] Only display text to a certain group > On Tue, Aug 28, 2007 at 04:40:33PM -0600, Tim Koop wrote: > > We have a group that is only allowed to see certain pages, so we don't want > > the main menu to links to everything. > > > > I was thinking of maybe using a Plugin to only show links if the current > > user is in a specific group or not. That way we could make a menu for the > > group members, and a menu for non-group members. Is it currently possible > > to do something like this? I'm willing to make a Plugin if I need to, but > > not if something is already out there. > > There has been talk about an IF plugin, which evaluates expressions > and display stuff based on that > > http://jspwiki.org/wiki/IfPlugin > > > > > Thanks. > > > > > > -- > > Tim Koop