← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 863089] Re: users share field group access incorrect

 

Thanks Olivier!

1 question left, if I may...
I'm working on the official training material of OpenERP and there is a (hidden) part about per-field access restrictions. I'm wondering if this will be included anytime soon, since this link (https://bugs.launchpad.net/openobject-client/+bug/854849/comments/1) tells me there is no way to do this currently.

A data record in XML for ir_model_fields_group_rel is the only way I can
think of. But I suppose this is not yet training material.

Thanks again!

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/863089

Title:
  users share field group access incorrect

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  In the module 'share', in the file 'res_users.py' :

  In both 'share' field definitions (res.groups and res.users) is the attribute:
      groups='share.group_share'

  However, this group is not declared anywhere in the 'share' module. I
  can see the ID 'group_share_user' in the security file. I think this
  should be used in the 'share' fields.

  I found this bug in the addons of OpenERP:
  branch: http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/
  revno: 4821
  (i did not search for other branches, revisions or whatever).

  I found this bug because I wanted to learn how the 'groups' attribute
  on 'fields' works. There is little documentation about this. Might it
  be deprecated???

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


Follow ups