OCA / data-protection

Data Protection
https://github.com/OCA/data-protection/wiki
GNU Affero General Public License v3.0
31 stars 68 forks source link

[RFC] privacy_partner: Private Addresses #4

Closed dreispt closed 6 years ago

dreispt commented 6 years ago

Module backporting the feature implemented in Odoo master (and 11.0, I believe):

Purpose

Add the possibility to create private addresses, only accessible for a subset of users.

Specification

  • Add a new 'Private' partner type
  • Add a res.groups in base 'Access to Private Addresses'
  • Add ir.rules for the following behavior:
    • Every employees/internal users can read non-private addresses
    • Only users in group_private_addresses can access private addresses
  • Add in base a simplified form view for private addresses
  • A HR Officer is automatically granted in group_private_addresses
  • Use the simplified form view to open the address_home_id form on employees
dreispt commented 6 years ago

It turns out that it was backported to 9.0: backport and later fix.