← Back to team overview

openerp-india team mailing list archive

[Bug 1099071] Re: Access Denied on Res Partner on 7.0

 

*** This bug is a duplicate of bug 1094212 ***
    https://bugs.launchpad.net/bugs/1094212

Hi,

This looks like a consequence of bug 1094212, so I'm marking it as a
duplicate.

PS: please don't check the "Security Vulnerability" option when
reporting a bug unless you bug report really describes a possible
security vulnerability (typically a bug that can be exploited to gain
elevated privileges or execute unauthorized operations).

** This bug has been marked a duplicate of bug 1094212
   partner search & record rules & muliticompanies

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1099071

Title:
  Access Denied on Res Partner on 7.0

Status in OpenERP Server:
  New

Bug description:
  Dear All,

  As Administrator, I create a record rule to restrict access to
  contacts. Bellow the rule definition for object "res.partner":

  ['|','|',('user_id','=',user.id),('user_id','=',False),('parent_id.user_id','=',user.id)]

  Read access only. Then, I attached the "See Own leads" group to this
  rule.

  When I user of this group try to tape any in the "select (search) bar"
  of the Sales/Clients menu, He got the following error:

  Acces denied
  The requested operation cannot be completeddue to security restrictions ...
  Document type: Partner, Operation: Read)

  I tried this in a new & empty database. I create an New user (user2)
  attached to group "See Own Leads".

  We created 2 partners. Test1 and Test2 with user_id as admin and
  user2.

  I logged as User2. From menu "Sales/Clients:
  Scenario 1:
  - I taped in the search bar the letter "t" which is in Test1 and Test2 partner name) ==>

  Acces denied
  The requested operation cannot be completeddue to security restrictions ...
  Document type: Partner, Operation: Read)

  - I taped in the search bar the letter "k" which is not in Test1 and
  Test2 partner name) ==> no problem!!!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1099071/+subscriptions