[IMP][TMP]Radicale Odoo Right : allow only read, not write ATM (not implemented)

This commit is contained in:
Fabien BOURGEOIS 2018-05-11 09:34:01 +02:00
parent 7f1ed8685b
commit dc3657393d
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class Rights(BaseRights):
""" BaseRights implementation for Odoo Radicale """
def authorized(self, user, path, permission):
return True
return permission == 'r'
def authorized_item(self, user, path, permission):
return True
return permission == 'r'