From: "Luciano A. Andrade" <andrade.luciano@gmail.com>
To: symfony-users@googlegroups.com
Date: 11/16/2007 4:29 am
Hello everyone i was looking to the sfLucenePlugin and the custom
indexer sfSimpleCMSIndexer, it looks ok, but i like to provide a
search for the no published pages, this will means that all the
SimpleCMS objects get indexed but they get removed from the search if
they get found by a anonymous user and appear if they found by an
administrator (or similar). Can any one sugest a method to accomplish
that. At first i think i add the state (published or not) and force
the state (to published) on the not administrators, but this looks
quite simplified and if i use a more complex control over permissions
is not good enough.