* intersect with read access rights of user running the wizard, to avoid adding more access than current
* copy all rules from groups of the user that is sharing in the many2many of the rules on the new group
bzr revid: hmo@tinyerp.com-20100610191601-ybrv7xk9vb5ixonc
The goal is to implement a generic sharing mechanism, where user of OpenERP
can share data from OpenERP to their colleagues, customers, or friends.
The system will work by creating new users and groups on the fly, and by
combining the appropriate access rights and ir.rules to ensure that the /shared
users/ will only have access to the correct data.
bzr revid: hmo@tinyerp.com-20100608114049-5q4q4trmbkizppxt