Works great, thanks. I've also sent Massimo a patch for tools.py to fix it in trunk. I hope to deploy a website soon using auth.wiki and this was one of my last hurdles.
On Wednesday, November 7, 2012 12:25:44 AM UTC+13, villas wrote: > > I do not want the wiki menu to be displayed to anyone except an 'admin' > and I hope that this option will eventually become available. > > Until then, this is my workaround solution: > > Create a view for the wiki controller function. Place inside that view > this script: > > {{if not auth.has_membership('admin'):}} > <script type="text/javascript" > > $(document).ready(function() { > $("a:contains('[Wiki]')").closest('li').remove(); > }); > </script> > {{pass}} > > Maybe this would work for you too. > > --