Document type: Directory, Operation: read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OERPScenario |
New
|
Undecided
|
Unassigned |
Bug Description
I get this error when a try to "group by directories" in Knowledge Management System module.
When you have two different directories and each directory has a specific group when a user of that group try the "group by directory" option it get this error.In my understanding the error is about the security restriction.
2015-03-05 16:02:37,707 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:37] "POST /web/dataset/
2015-03-05 16:02:37,716 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:37] "POST /web/dataset/
2015-03-05 16:02:37,759 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:37] "POST /web/dataset/
2015-03-05 16:02:38,069 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:38] "POST /web/dataset/
2015-03-05 16:02:38,081 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:38] "POST /web/dataset/
2015-03-05 16:02:38,562 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:38] "POST /web/dataset/
2015-03-05 16:02:38,834 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:38] "POST /web/dataset/
2015-03-05 16:02:41,391 2164 INFO test_knowlage werkzeug: 127.0.0.1 - - [05/Mar/2015 16:02:41] "POST /web/dataset/
2015-03-05 16:02:41,730 2164 WARNING test_knowlage openerp.osv.orm: Access Denied by record rules for operation: read, uid: 3, model: document.directory
2015-03-05 16:02:41,730 2164 ERROR test_knowlage openerp.netsvc: Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Directory, Operation: read)
Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
File "C:\Program Files (x86)\OpenERP 7.0-20140622-
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
File "/usr/lib/ python2. 7/dist- packages/ openerp/ addons/ base/ir/ ir_attachment. py", line 283, in read python2. 7/dist- packages/ openerp/ addons/ document/ document. py", line 84, in check pool.get( 'document. directory' ).check_ access_ rule(cr, uid, [parent_id for (parent_id,) in cr.fetchall()], mode, context=context) python2. 7/dist- packages/ openerp/ osv/orm. py", line 4019, in check_access_rule _check_ record_ rules_result_ count(cr, uid, sub_ids, returned_ids, operation, context=context) python2. 7/dist- packages/ openerp/ osv/orm. py", line 3968, in _check_ record_ rules_result_ count _description, operation)) \n\n(Document type: Directory, Operation: read)')
self.check(cr, uid, ids, 'read', context=context)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
(self.
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.