-
- Downloads
[ADD] *: add ir.model.access on all transient models
Following changes needing ir.model.access on transient models too. Remove groups declaration on the action to move it to ir.model.access when possible. Rules are strict by default with no unlink access by default and high priviledge asked. Adaptations may be needed later. Write access is given as a wizard may need to be modified in case the action triggers an error and the user has to correct a value account*: use account.group_account_user for all transient by default remove account.print.journal relic stock*: use stock.group_stock_user by default survey: survey user can send invitations mail: allow any employee to execute wizards additional verifications are made to ensure they are executed only on the documents the user has access to you give portal access to mail.compose.message as portal still does some actions like posting messages on the forum add ir.rule to avoid reading somebody else messages increase the query count because of undeterminist count crm: saleman for lead2opp, manager for massmailing partner manager for actions linked to partners avoid a write in test_lead_lost sms: any employee can send sms mrp: mrp user can execute wizards give unlink access as making write during do_produce operation base_import: employees can import files delivery: stock user can deliver event_sale: sale user can configure the wizards event user inherit from sale rights gamification: employee can give badge google_service: resolve FIXME hr: add specific rights manager can set a plan according to group on button anyone who can write on an employee can register a departure hr_expense: set rights based on buttons hr_holidays: an approver can make a summary report hr_recruitment: recruiter can refuse a candidate hr_timesheet: can use the wizard if can create a timesheet l10n_eu_service: managers can create fiscal positions mass_mailing: same group as on mass.mailing.list membership: accountant can create invoice from membership payment: accountant can create a link as the source is an account.move keep the payment.acquirer.onboarding.wizard to system user only as it is called during company configuration point_of_sale: PoS manager only can use wizards never create closing_balance_confirm_wizard records product_expiry: stock user has rights on stock.picking product_margin: access from accounting menus repair: same rules as for above models sale: set ir.rule for self wizard only add rule from model introduced in payment to add salesman group sale_crm: saleman can create a quotation from a lead sale_coupon: any saleman can generate coupon add self ir.rule sale_product_configurator: salesman can select product variants snailmail: employee can send letters website: designers can write on website website_crm_partner_assign: same rule as group on action website_sale: sale ACL as for payment.acquirer.onboarding.wizard website_slides: anyone can send invitation base: base.language.*: allow employee (cf lang_install) change.password.user: can not read change password wizard of other users test.*: no access is needed Courtesy of Damien Bouvy, William Andre and Antoine Prieëls for review of acl
Showing
- addons/account/security/ir.model.access.csv 16 additions, 0 deletionsaddons/account/security/ir.model.access.csv
- addons/account/wizard/account_invoice_send_views.xml 1 addition, 2 deletionsaddons/account/wizard/account_invoice_send_views.xml
- addons/account_check_printing/__manifest__.py 1 addition, 0 deletionsaddons/account_check_printing/__manifest__.py
- addons/account_check_printing/security/ir.model.access.csv 2 additions, 0 deletionsaddons/account_check_printing/security/ir.model.access.csv
- addons/base_gengo/__manifest__.py 1 addition, 0 deletionsaddons/base_gengo/__manifest__.py
- addons/base_gengo/security/ir.model.access.csv 2 additions, 0 deletionsaddons/base_gengo/security/ir.model.access.csv
- addons/base_import/security/ir.model.access.csv 1 addition, 0 deletionsaddons/base_import/security/ir.model.access.csv
- addons/base_import_module/__manifest__.py 4 additions, 1 deletionaddons/base_import_module/__manifest__.py
- addons/base_import_module/security/ir.model.access.csv 2 additions, 0 deletionsaddons/base_import_module/security/ir.model.access.csv
- addons/base_sparse_field/__manifest__.py 1 addition, 0 deletionsaddons/base_sparse_field/__manifest__.py
- addons/base_sparse_field/security/ir.model.access.csv 2 additions, 0 deletionsaddons/base_sparse_field/security/ir.model.access.csv
- addons/crm/security/ir.model.access.csv 5 additions, 0 deletionsaddons/crm/security/ir.model.access.csv
- addons/crm/tests/test_crm_lead_lost.py 6 additions, 4 deletionsaddons/crm/tests/test_crm_lead_lost.py
- addons/crm/views/crm_lead_views.xml 0 additions, 1 deletionaddons/crm/views/crm_lead_views.xml
- addons/crm/wizard/crm_lead_to_opportunity_mass_views.xml 0 additions, 1 deletionaddons/crm/wizard/crm_lead_to_opportunity_mass_views.xml
- addons/crm/wizard/crm_merge_opportunities_views.xml 1 addition, 2 deletionsaddons/crm/wizard/crm_merge_opportunities_views.xml
- addons/delivery/security/ir.model.access.csv 2 additions, 0 deletionsaddons/delivery/security/ir.model.access.csv
- addons/event_sale/security/ir.model.access.csv 3 additions, 0 deletionsaddons/event_sale/security/ir.model.access.csv
- addons/gamification/security/ir.model.access.csv 3 additions, 0 deletionsaddons/gamification/security/ir.model.access.csv
- addons/google_account/models/google_service.py 1 addition, 2 deletionsaddons/google_account/models/google_service.py
Loading