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.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/
pgpSFDsLRyDmQ.pgp
Description: PGP signature
