Files
odoo_source/addons/crm_iap_lead_website/security/ir.model.access.csv
T
Sunil Shrimali d790b7e6a2 [IMP] crm*: allow sales user to access reporting for own documents
Right now, the 'CRM > Reporting' menu is accessible only to the sales
managers. However, we should let users of all access right levels to
see their reporting while making sure it does not give them access to
data that does not match their rights.

This commit thus changes group applied on 'CRM > Reporting' menu from
'sales_team.group_sale_manager' to 'sales_team.group_sale_salesman' so
that from sales person to manager, everyone is able to the reporting
based on their rights.

For the below sub-menus, record rules already exist, preventing data breach:
 - Dashboard (crm_enterprise)
 - Leads (crm)
 - Pipelines (crm)
 - Activities (crm)

However, for data under 'Partnership'(website_crm_partner_assign) and
'Lead Generation Views' sub-menus(crm_iap_lead_website), we introduced
the needed access rights / record rules to ensure basic users can only
see the data they have rights for.

TaskId - 2357311

closes odoo/odoo#64202

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2021-02-02 04:51:37 +00:00

571 B

1idnamemodel_id/idgroup_id/idperm_readperm_writeperm_createperm_unlink
2access_crm_reveal_rule_manageraccess_crm_reveal_rule_managermodel_crm_reveal_rulesales_team.group_sale_manager1111
3access_crm_reveal_rule_salesmanaccess_crm_reveal_rule_salesmanmodel_crm_reveal_rulesales_team.group_sale_salesman1000
4access_crm_reveal_view_manageraccess_crm_reveal_view_managermodel_crm_reveal_viewsales_team.group_sale_manager1111
5access_crm_reveal_view_salesmanaccess_crm_reveal_view_salesmanmodel_crm_reveal_viewsales_team.group_sale_salesman1000