Re: Search in boolean property of linked property

Korbinian Preisler <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On 30.05.2015 17:33, Ralf Schlatterbeck wrote:
> On Fri, May 29, 2015 at 09:28:03AM +0200, Korbinian Preisler wrote:
>> I can see the search term in the url and can find a MiniFieldStorage in
>> the form of the request holding the search term created by this.
>>
>> But the search result seems to ignore all of this.
>>
>> Does anybody know what i am doing wrong with this?
>>
>> Any tips would be welcome.
> What are the permissions on the class you are searching for, does the
> searching user have full read permission?
> If read permissions are controlled by a check function or similar
> you have to explicitly grant search permission to the user.
> Like so:
>     p = db.security.addPermission \
>         ( name        = 'Search'
>         , klass       = 'issue'
>         , description = "search issue"
>         , properties  = ['your_boolean_property']
>         )
>     db.security.addPermissionToRole ('User', p)
>
> Ralf
I am testing this with the roundup admin and checked with the permission
check script from here that the admin has search permission on the issue
and on the milestone. the admin has full read permission on the issue.
So a Search permission should not be needed, right?

So I have still no idea why my search does not work.

------------------------------------------------------------------------------
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.