Re: Search in boolean property of linked property
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
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
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: http://www.runtux.com
Reichergasse 131, A-3411 Weidling email: [email protected]
allmenda.com member email: [email protected]
------------------------------------------------------------------------------