incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <>
Subject Re: page rendering
Date Sat, 23 Aug 2008 11:51:03 GMT
Check the IfPlugin.
You may want to put it around the sensitive sections in your LeftMenu.


[{If var='loginstatus' is='authenticated'

some sensitive data here


On Sat, Aug 23, 2008 at 12:21 PM, Florian Holeczek <> wrote:
> Hi all,
> is there an option to render a page without the LeftMenu?
> I'm thinking about the following use case:
> In my wiki, only authenticated users may do anything. However,
> everybody should be able to create an account, which shall be approved
> by the Administrator.
> This is why I've modified the security policy as follows:
>> grant principal com.ecyrd.jspwiki.auth.authorize.Role "All" {
>>    permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:ApprovalRequiredForUserProfiles",
> The "problem" now is that the not yet approved user sees the LeftMenu,
> too, which may contain confidential information.
> Ideal would be a command in a wiki page which causes the page being
> rendered without the LeftMenu.
> Does such a thing already exist?
> Best Regards
>  Florian

View raw message