Hey all.
I'm working on an application and am beginning to think about how to make
this requirement work.
I need to select objects using cfa_contentobjectfind, BUT if security has
been applied to one of the return-able objects and the user has not logged
in as a member of the authorized group, the object cannot display in the
list.
Problem.
As far as I can tell, the Advanced Security only applies (at least
obviously) to the handlers. However, it was more applicable for me to use
cfa_contentobjectfind because I need to be able to sort results sets, pass
in properties to search on, and use a next-n interface.... sending a list of
IDs into the cfa_handler just did not appear to be workable... How would I
order the results before display? Get a sorting mechanism to work? Filter
the results? I've got all of this prototyped in a way that pleases me. Now
for the hard part.
So, can I cause the cfa_contentobjectfind to listen to the advanced security
settings? Is there some kind of weird workaround I need to think of? One
idea that comes to mind... and I'm not at all sure it works ... is to create
a dummy handler, apply security to it, and then somehow as I'm looping
through my results for display run a check against the security applied to
that handler and then display or not. Problem with that idea is I'm afraid
of how much execution time it could add to my search, filter, sort, display
routing to add an additional tag or two for this purpose.
Anybody have any ideas?
Patricia Lee
****************************************************
Cold Fusion Developer & Instructor, ACCD
Fig Leaf Software "We've Got you Covered"
****************************************************
[EMAIL PROTECTED] **** 202.797.5426 ****
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.