Public bug reported:
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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/call_kw/ir.filters:get_filters
HTTP/1.1" 200 -
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/call_kw/ir.attachment:fields_get
HTTP/1.1" 200 -
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/call_kw/board.board:list HTTP/1.1"
200 -
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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/search_read HTTP/1.1" 200 -
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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-231040\Server\server\.\openerp\netsvc.py", line 296, in
dispatch_rpc
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\service\web_services.py", line 626,
in dispatch
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 190, in execute_kw
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 132, in wrapper
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 199, in execute
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 187, in execute_cr
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\orm.py", line 2759, in
read_group
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\openerp\addons\base\ir\ir_attachment.py",
line 268, in read
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\openerp\addons\document\document.py", line
84, in check
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\orm.py", line 3989, in
check_access_rule
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\orm.py", line 3938, in
_check_record_rules_result_count
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: Directory, Operation: read)')
** Affects: oerpscenario
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OERPScenario.
https://bugs.launchpad.net/bugs/1428715
Title:
Document type: Directory, Operation: read
Status in OpenERP Scenario : Functional tests by Camptocamp:
New
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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/call_kw/ir.filters:get_filters
HTTP/1.1" 200 -
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/call_kw/ir.attachment:fields_get
HTTP/1.1" 200 -
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/call_kw/board.board:list HTTP/1.1"
200 -
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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/search_read HTTP/1.1" 200 -
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/call_kw/ir.attachment:fields_view_get
HTTP/1.1" 200 -
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-231040\Server\server\.\openerp\netsvc.py", line 296, in
dispatch_rpc
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\service\web_services.py", line 626,
in dispatch
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 190, in execute_kw
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 132, in wrapper
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 199, in execute
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\osv.py", line 187, in execute_cr
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\orm.py", line 2759, in
read_group
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\openerp\addons\base\ir\ir_attachment.py",
line 268, in read
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\openerp\addons\document\document.py", line
84, in check
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\orm.py", line 3989, in
check_access_rule
File "C:\Program Files (x86)\OpenERP
7.0-20140622-231040\Server\server\.\openerp\osv\orm.py", line 3938, in
_check_record_rules_result_count
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: Directory, Operation: read)')
To manage notifications about this bug go to:
https://bugs.launchpad.net/oerpscenario/+bug/1428715/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp