added check t ReadOnlyPersonModel to determine whether the item should be returned in the search results. Pagination has been put back in, but moved to the SearchPeopleViewModel, after this new ShouldBeIncludedInSearchResults() check. More testing is required, but it looks good.
updated TODO list
paging implemented on search screen. IQueryable implementation does not seem to be behaving as expected.
moved some parts of the search linq query from the VM into the repo.
the gist of search is worked out. there are some performance limitations to securing search results to such a granular level. It may make sense to not do pagination for secure result objects in the UI and instead limit the number of results, forcing the user to refine search criteria.
optomized person search query. still work to be done for the security queries (caching only, most likely)
messing with login layout
added some nicer UI effects around the login screen. Still working through navigation paths and general app flow stuff.
cleanup of resource dictionaries and LoginView XAML.
moved BackGroundNoiseBrush from LoginView to MainWindow
fixed LogoutViewModel behavior to match the new LoginView behavior. Also updated RegionManager to allow for null ViewType parameters to unload a region's view.
more workflow updates. in the middle of adding a navigation region for 'back to search' button
messing with colors, layout and workflow. All UI stuff.
refining search people screen behavior.
refining person search behavior in repository for performance.
fixes for SqlPersonRepository.Search behavior for both security and paged results within the query (to minimize result records that need to have permission checks).
another fix for MaxResult criteria on SqlPersonRepository.Search(). Also, identified an issue where search fails with a Null Reference Exception when a person does not have a phone number. Will correct this in the next commit.
misunderstood previously noted error around SqlPersonRepository.Search(). The problem was a disconnect between the SQL project and the EF defined schema. Enum columns cannot be null and the SeedDefaultData.sql was not setting the Sex property of its inserted Person row.