Gravatar for

Question by Diego, Jan 12, 2015 1:57 PM

How to filter results by sitecore roles?


can anyone point me to the right direction on how to filter the search results on sitecore based on user roles? thanks

1 Reply
Gravatar for

Answer by Vincent Séguin, Jan 12, 2015 1:58 PM

Hi Diego,

Not sure what you're trying to achieve. The roles are securities indexed on the documents, so it's not a "field" or something you can filter on. If you have access to the document you will see it, if no you won't.

Gravatar for

Comment by Diego, Jan 12, 2015 2:06 PM

So what I'm trying to achieve is something like this. I have a section of my site which is secured for a specific role for logged in users. By this content should be searchable only for the users that carry that role. does that make sense?

Gravatar for

Comment by Vincent Séguin, Jan 12, 2015 2:08 PM

But this is supposed to be like that OOTB since permissions are indexed on your documents… if you take a look at one of these documents in the Coveo Admin Tool, what do you see in the Permissions tab of this document?

Gravatar for

Comment by Diego, Jan 13, 2015 11:17 AM

Ok so if´ts out of the box than that should do. Thanks

Ask a question