Comment 17 for bug 1259913

Revision history for this message
Mariusz Mizgier (mariusz-mizgier) wrote :

I guess my installation might be broken somehow - I need to restore my production database onto other server, as I can't check it during working hours there. After applying your patch though, I got an error of:
2014-02-06 14:02:53,009 10582 WARNING currenda openerp.osv.orm: Access Denied by record rules for operation: create, uid: 119, model: note.note
2014-02-06 14:02:53,014 10582 WARNING currenda openerp.osv.orm: Access Denied by record rules for operation: read, uid: 119, model: note.note
2014-02-06 14:02:53,014 10582 ERROR currenda openerp.netsvc: Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Note, Operation: read)
Traceback (most recent call last):
  File "/opt/openerp/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/opt/openerp/server/openerp/osv/osv.py", line 144, in wrapper
    raise except_osv(inst.name, inst.value)
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: Note, Operation: read)')

And on the users' side (Document type: Note, Operation: read)