summaryrefslogtreecommitdiff
path: root/odoo/addons/base/security/ir.model.access.csv
AgeCommit message (Collapse)Author
2019-03-29[IMP] base: Remove useless ACL rulesYannick Tivisse
Now that portal users don't have access to the backend, it doesn't make sense to give the read access on attachments, as this is the role of the specific controllers to provide this access according to the business logic. For the record, these rules have been introduced at: https://github.com/odoo/odoo/commit/61065b6d04248aa496765e1035c4c90cbdc38de7 https://github.com/odoo/odoo/commit/f3fa266d115ac9d4723164af10f8dee40821b290 closes odoo/odoo#32134 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-03-01[IMP] base: make the name reflect what the rule doesMartin Trigaux
Was called "group user" while was applying to manager Fixes odoo/odoo#31300 closes odoo/odoo#31537
2018-10-11[MERGE] forward port branch 11.0 up to 717f4583949Christophe Simonis
2018-10-10[FIX] base: allow admin to modify paperformatsStijn Houben
If a user creates a paperformat, he should be able to modify it too. Employees have no reason to modify the paperformat though (nor create). Having a malicious employee modifying an existing report may be dangerous. [CLA] signature for stijnh92 Fixes #26292 closes odoo/odoo#27444
2017-10-19[REM] base, various: remove res.request.linkThibault Delavallée
Not used since a while, remaining of old res.request. Requests have been removed at 881a76dbcf47c877feb5efa14943010309d22eaf . Links have been kept because still used in some reference fields. It seems the last use was in OpenERP v9.0 in crm_claim module. As links are not used since a while let us get rid of it.
2017-08-28[REM] base: remove model `ir.values`Raphael Collet
2017-08-28[ADD] base: model `ir.default` to store user-defined defaultsRaphael Collet
2017-06-01[MERGE] Forward-port saas-16 up to ba15df47cb25625cb0921cba554aa0879048c90aOlivier Dony
2017-05-22[IMP] base: Add a new model 'Sector of Activity' used on partnersYannick Tivisse
purpose ======= We need to store and produce reports about customer activity sectors to improve references mechanism. Specification ============= - add a new model res.partner.industry "Sector of Activity" - fields: - name (translatable) - full_name (translatable) - active - add minimalist form and list views (à la Contact Tags) - menu: Sales/Settings/Contacts/Contact Industries (Technical Settings only) - ACL: R for group_user, CRUD for group_system - add a default XML data file to preload res.partner.industry with the ISIC 2008 aka NACE rev.2 level 1: https://docs.google.com/a/odoo.com/spreadsheets/d/1IrGbHIaaDDkBAS2uGABeNRPndtYbyVBVoYYpQNXnhnY/edit?usp=sharing - Note: we leave it as an option for end-users to import their own industries, because there are many competing standards: ISIC, NACE, NAICS, OKVED, etc. - Each standard also has different hierarchical levels, and we only use the top level one by default. - add a m2o industry_id ("Sector of Activity") on res.partner towards res.partner.industry - add industry_id in partner form view, in Sales & Purchase > Misc, only visible when contact type is Company - No quick create for this field
2017-05-08[REF] report: remove the report moduleLaurent Smet
The content of the report module is now dispatched in the 'base' and the 'web' modules.
2017-05-08[REM] odoo/report: remove deprecated stuffLaurent Smet
- RML Reports - Webkit Reports (most part already removed by 13b9982c6298021289707ed364e3c1d622a09f13) - LocalService in netsvc.py - rename attributes like rml_% to report_% - rename ir.actions.report.xml to ir.actions.report - allow rendering directly on an ir.actions.report by calling render method - remove 'controller' report_type - remove unused res.font stuff - remove print_report method in models.py (not used) - restore removed call to pdftotext process in test_reports
2017-04-06[IMP] base: add individual module exclusionsRaphael Collet
2017-03-23[IMP] base,website_portal: webclient forbidden for portal userJérome Maes
About a `sudo` on ir.ui.menu, this commit (3649b7f359b640635cbe0bc4f161884ba64c2318) removed it, this commit (3d0cc2d6d2dbd567cfaa93de4cb90787d0c07c9e) re-added it. Since portal user can not go on /web anymore, I think portal does not need to read ir.ui.menu. Here some news scenario: - if website is not installed, portal can log in, but will be redirected to login page with an error message 'only employee can access'. Indeed, there is no page to display for such user. - if website is installed, but not website_portal, portal user can log in and will be redirected to homepage. If he tries to manually access to /web, he will be redirect to login page with access error (even if he will still be logged). - if website_portal is installed, the portal user can fully enjoy its features.
2017-03-23[MOV] base,portal: make portal module emptyJérome Maes
The goal is to prepare the removal of 'portal' module. - demo portal user is moved into base - 'is_portal' field on res.group too - remaining security rule are moved to base too - mail template is moved to website_portal
2017-01-20[FIX] base: restrict read access to `ir.model` and `ir.model.fields` to ↵Raphael Collet
employees
2017-01-17[FIX] base: access rights of `ir.model` and `ir.model.fields`Raphael Collet
This partially reverts commits 5d746d0ac663232d656bb57e82fec290bb5d82fd and 73de86c7682a1433da7a755c3092dcb38fba3fd8. The tightening of access rights was too strong: regular users need to be able to read models and fields (to create an email templace, for instance.) [FIX] ir_values: in `get_actions`, exclude field `code`
2017-01-03[IMP] base: tighten `ir.rule` access rightsRaphael Collet
The computed field `domain` was formerly read as the current user to evaluate the rule's domain for the current user. As we restrict the access of `ir.rule` to advanced users only, the computed field has no purpose anymore.
2017-01-03[IMP] base: tighten `ir.model.data` access rightsRaphael Collet
2017-01-03[IMP] base, *: tighten `ir.model.access` access rightsRaphael Collet
In `website_crm_partner_assign`, remove duplicate ACLs and reorganize files.
2017-01-03[IMP] base: tighten `ir.model.relation` access rightsRaphael Collet
2017-01-03[IMP] base: tighten `ir.model.fields` access rightsRaphael Collet
2017-01-03[IMP] base: tighten `ir.model.constraint` access rightsRaphael Collet
2017-01-03[IMP] base, *: tighten `ir.model` access rightsRaphael Collet
Remove unrestricted "read" access. To make code internally using `ir.model` work, add a private method `_get` on `ir.model` to retrieve the record corresponding to a model name, without access rights issue. Change signature of method `get_authorized_fields` to make it use a model name instead of a model id. This removes the necessity of a search on `ir.model`.
2017-01-03[IMP] base: tighten `ir.filters` access rightsRaphael Collet
Remove "full access" for all users, and add it to specific groups.
2017-01-03[REF] ir_config_parameter: remove `group_ids` and simplifyRaphael Collet
Add `sudo()` to call `get_param` where necessary, and make the web client use a controller instead of directly accessing parameters.
2016-12-05[REM] *: remove ir.needaction mixinJérome Maes
ir.needaction_mixin is not used anymore by the webclient. From 9.0, the concept has changed: this feature is now available in mail module, with the mail.thread mixin, and message_neeadction field. Remove all code handeling needaction bullet and counter on ir.ui.menu, knowing that since 9.0 webclient does not display the counter anymore. This code was, thus, useless and some RPC calls were done for nothing, and adapt accounting reconcialiation widget.
2016-11-23[REM] workflow: Remove workflow engine, documentation and testsYannick Tivisse
2016-09-02[REF] openerp: move `openerp` to `odoo`Raphael Collet