Permission error on notes when creating user
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Undecided
|
Holger Brunn (Therp) |
Bug Description
I'm just getting started with OpenERP, so forgive me if I'm missing something obvious.
Some time ago I ran into this bug: https:/
After applying the patch, I could still not create a new user. I thought I still had the same issue, but on closer inspection I found that the error now concerned a different object: Notes instead of Users.
So, just as with the other bug, the issue is I can only create new users as the default admin user, not as any other user that has administrative permissions.
At first I got this exception:
2013-03-17 12:52:14,878 5200 ERROR segrey openerp.netsvc: Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Note Stage, Operation: read)
Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
I modified osv.py to not eat-up the exception. Then I got this:
Server Traceback (most recent call last):
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
File "C:\Program Files (x86)\OpenERP 7.0\Server\
except_orm: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
So as far as I understand there seems to be an issue copying notes to the new user. But my knowledge does not stretch far enough to interpret this further.
Related branches
- Christophe Simonis (OpenERP): Disapprove
- Naresh(OpenERP): Pending requested
-
Diff: 20 lines (+4/-8)1 file modifiednote/note.py (+4/-8)
- Guewen Baconnier @ Camptocamp: Approve
- Stefan Rijnhart (Opener): Approve
-
Diff: 20 lines (+4/-8)1 file modifiednote/note.py (+4/-8)
Changed in openobject-server: | |
status: | Confirmed → In Progress |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
importance: | Undecided → Low |
affects: | openobject-server → openobject-addons |
Changed in openobject-addons: | |
milestone: | none → 7.0 |
I believe this is the same issue as mentioned in this question: http:// help.openerp. com/question/ 5735/cant- create- new-users- with-id- that-has- admin-rights/