Permission issue with a custom search
Last Post 10/24/2012 6:03 PM by Peter Donker. 1 Replies.
Author Messages
Mark Selby
New Member
New Member
Posts:6


--
10/23/2012 5:48 PM
I created a custom search module using DMX.Services.SearchController.Search() for the meat of the processing. The module is working well, but just noticed that file permissions are not being observed, as the search results allow all files to be returned even if permissions for all users has been removed. I was originally thinking the permissions were accounted for with the Search method, but I guess not. Any help on resolving this issue would be greatly appreciated.

Thanks!
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/24/2012 6:03 PM
There are two parts to search: Search and GetSearchResults. You first set the search through the former which you've done. The GetSearchResults is in the DataProvider (i.e. Data.DataProvider.Instance.GetSearchResults) or you can use GetGridContents in the search controller which returns a dataview of that data.

Peter


---