openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27443
[Bug 1292448] [NEW] [trunk] User denied access to res.company and res.users after changing current company
Public bug reported:
We have installed OpenERP 8.0dev-20140226-000101 on a Ubuntu 12.04 server.
The system is configured to use multi-company feature.
40+ companies have been captured into the system that make a hierarchical structure. Also few users have been captured that are assigned to different companies (through Allowed Companies).
The problem, we're experiencing can be reproduced the following steps:
1. Create several companies and form a hierarchical structure, e.g
C1
C2
C3
C4
C5
....
2. Create a user (e.g. UserA) and assign it to the top (C1) company
as main company and also to a few other companies down in the hierarchy.
3. Log in as UserA, and change the current company to (C1) to e.g. C3
4. Log out and log back in
5. upon logging in, the following error message pops up (see
screenshot 2):
Access Denied
The requested operation cannot be completed due to security
restrictions. Please contact your system administrator.
(Document type: Users, Operation: read)
6. click OK to close the message and go to Usera > Preferences.
Another error message pops up:
Access Denied
The requested operation cannot be completed due to security
restrictions. Please contact your system administrator.
(Document type: Companies, Operation: read)
7. also, the Company drop-down doesn't display any companies (see
screenshot 2)
We've checked directly in the database using SQL query and have verified
that the currently logged in user has the read access to both res.users
and res.company objects/models (see screenshot 3).
** Affects: openobject-addons
Importance: Undecided
Status: New
** Attachment added: "screenshot_1.PNG"
https://bugs.launchpad.net/bugs/1292448/+attachment/4023745/+files/screenshot_1.PNG
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1292448
Title:
[trunk] User denied access to res.company and res.users after changing
current company
Status in OpenERP Addons (modules):
New
Bug description:
We have installed OpenERP 8.0dev-20140226-000101 on a Ubuntu 12.04 server.
The system is configured to use multi-company feature.
40+ companies have been captured into the system that make a hierarchical structure. Also few users have been captured that are assigned to different companies (through Allowed Companies).
The problem, we're experiencing can be reproduced the following steps:
1. Create several companies and form a hierarchical structure, e.g
C1
C2
C3
C4
C5
....
2. Create a user (e.g. UserA) and assign it to the top (C1) company
as main company and also to a few other companies down in the
hierarchy.
3. Log in as UserA, and change the current company to (C1) to e.g.
C3
4. Log out and log back in
5. upon logging in, the following error message pops up (see
screenshot 2):
Access Denied
The requested operation cannot be completed due to security
restrictions. Please contact your system administrator.
(Document type: Users, Operation: read)
6. click OK to close the message and go to Usera > Preferences.
Another error message pops up:
Access Denied
The requested operation cannot be completed due to security
restrictions. Please contact your system administrator.
(Document type: Companies, Operation: read)
7. also, the Company drop-down doesn't display any companies (see
screenshot 2)
We've checked directly in the database using SQL query and have
verified that the currently logged in user has the read access to both
res.users and res.company objects/models (see screenshot 3).
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1292448/+subscriptions
Follow ups
References