A Divendres, 23 de desembre de 2011 18:38:30, Cédric Krier va escriure: > 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). > > 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) > - notes > - URL to use with the key > > 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.
Sounds pretty good to me. Just one question, probably due to my ignorance, but would this allow to share complete folders? (If not directly but at at least easily?) -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
