[daisy] Request for Comments--linking serial numbers to documentation

Marc Portier mpo at outerthought.org
Sat Aug 4 00:35:45 CDT 2007


disclaimer: I might not have understood everything in your mail, 
actually I might just be getting it completely wrong ;-)

(for one: what is it you -technically- mean with 'classify' customers 
based on product?)


Nevertheless my first idea would be to intercept incoming requests on 
the daisy-wiki (assuming you are not only using the repo) with either a 
custom cocoon action (requires changes to the sitemap.xmap) or a custom 
servlet filter (requires changing the web.xml)

It's very generally speaking, but you could use one of those to grab the 
login,  perform your database query (I assume they will have registered 
products linked to their login) and do the needed mapping to whatever 
you are using for the new products (specific daisy roles?)

For faster follow-up request you can store this info in the session.


HTH,
-marc=



Caleb Callaway wrote:
> Hi all, I'm contemplating an idea for documenting our products, and 
> could use some inspiration.
> 
> The goal is to have a customer login that customizes the available 
> documents and sites based on the product they have--if they have a Super 
> Express Deluxe Wingding, only documents related to that product would 
> show. Straight forward application of ACLs, simply classify the 
> customers based on product, then set up the access control accordingly. 
> Use a little customized LDAP for authentication, and you're done.
> 
> Except.
> 
> The older product designations aren't terribly precise. To make a long 
> story short, there is no good way to reliably determine a given 
> machine's configuration short of looking up the serial number and 
> getting the configuration information from a database. This makes it 
> difficult to classify the machines.
> 
> It's possible to put every machine in its own class and/or have a 
> massive ACL list, but this strikes me as a huge hack. Does anyone have a 
> better idea?
> -Caleb
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: 
> http://outerthought.org/site/services/daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
> 


More information about the daisy mailing list