[IMP][TMP]Radicale Odoo Right : allow only read, not write ATM (not implemented)
This commit is contained in:
parent
7f1ed8685b
commit
dc3657393d
@ -25,7 +25,7 @@ class Rights(BaseRights):
|
|||||||
""" BaseRights implementation for Odoo Radicale """
|
""" BaseRights implementation for Odoo Radicale """
|
||||||
|
|
||||||
def authorized(self, user, path, permission):
|
def authorized(self, user, path, permission):
|
||||||
return True
|
return permission == 'r'
|
||||||
|
|
||||||
def authorized_item(self, user, path, permission):
|
def authorized_item(self, user, path, permission):
|
||||||
return True
|
return permission == 'r'
|
||||||
|
Loading…
Reference in New Issue
Block a user