On Dec 23, 2011, at 11:08 PM, Cédric Krier wrote: > Hi, > > I'm starting to work on a shared webdav feature. > The idea is to be able to give credential to some client without > creating a user/password. > For example, it is to have google calendar filled with the ics file from > Tryton calendar module (more over google calendar doesn't support > urser/passord in the url).
Another cool feature :) > > So here is the design: > > - a Model webdav.shared: > > - URL (checked with startswith) > - key access (perhaps a random UUID) > - user (the user right to use) > - validaty_date > - number_access (number of access allowed) I think the field name is not clear. Is it a maximum number of calls allowed forever (not sure its useful) or calls per hour ? or just a counter of the number of calls made so far ? > - notes > - URL to use with the key I presume this is a function filed which will display the URL so that the user can copy and paste ? > > The key will be passed as parameter to the URL and the webdav server > will look at it if he doesn't have a urser/password. It will compare the > two URLs. This will only allowed with the GET method. > > On the attachment, a new field will be added to compute the WebDAV URL > to get it and a One2Many to webdav.shared using the same URL. This way, > it will be possible to the user to create a shared credential. > > Comments are welcome. > Thanks Sharoon Thomas Director & CEO, Openlabs Technologies & Consulting Pvt Limited Regd Office: 2J-Skyline Daffodil, Trippunithura - Kochi - IN 682013 Mobile: +1 786 247 1317 http://openlabs.co.in
signature.asc
Description: Message signed with OpenPGP using GPGMail
