Re: full-text search : How to improve ?

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi Norbert:

In message <[email protected]>,
SCHLEMMER Norbert writes:
>https://wiki.roundup-tracker.org/AddAboutPage
>
>Have added the 3 files, but with this result :

Oops. Try replacing:

   python:request.user.hasPermission('SeeAbout')

in two places (keep the not: prefix where present) with:

   python:request.user.hasRole('Admin')

if that crashes, revert the change and remove the tal:condition
matching:

   tal:condition="python:request.user.hasPermission('SeeAbout')"

you will end up with the "Please login with your username and password..."
message but should be able to see the data.

Let me know if the hasRole works. If so I'll fix the wiki page.

(FYI, tht example is from my tracker that has some additional
permissions like SeeAbout and I forgot to fix that when I posted.)

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.