If you really want to do it dynamically, really dynamically, you'll need to disable caching for your store. cacheResults() needs to return false, and you'd better make your Store fast :). Without caching all ObjectNodes should be newly generated for each request. You'll probably want to do some of your own caching, then.
-James >>> [EMAIL PROTECTED] 6/30/2004 2:51:27 PM >>> Well, if users Abe, Bella and Charlie log into a slide and slide has /slide/files/Abe/ /slide/files/Bella/ /slide/files/Charlie/ and each of those three collections has ACLs that grant access to Abe for /Abe/, to Bella for /Bella/, etc. and nobody else is granted access....when Abe logs in he won't see Bella or Charlie. Michael Oliver CTO Matrix Intermedia Inc. 3325 N. Nellis Blvd, #1 Las Vegas, NV 89115 Phone:(702)643-7425 Fax:(520)844-1036 -----Original Message----- From: Eitzmann, James [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 2:43 PM To: '[EMAIL PROTECTED]' Subject: Dynamic Node Store I'm trying to create a custom node store that will build the node hierarchy dynamically based on the user (i.e., the node hierarchy may look different from user to user based on business rules, security filtering, etc.). I'm just getting started with slide, so please pardon my ignorance. The problem I'm running in to is that the node store shares ObjectNode objects between users and the ObjectNode object seems to determine the hierarchy (via getChildren). Therefore, I don't see a way to have one set of children for one user and another for a different user. I also don't see a way to give different ObjectNode objects to different users for the same uri from the node store. Has anyone attempted anything like this? Does anyone have any suggestions? Thanks, James --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
