summaryrefslogtreecommitdiff
path: root/openerp/addons/base/security/ir.model.access.csv
AgeCommit message (Collapse)Author
2016-09-02[REF] openerp: move `openerp` to `odoo`Raphael Collet
2016-03-07[FIX] User with 'Access Rights' rights not able to access Users menuYannick Tivisse
The ERP managers (users with 'Access Rights' rights) cannot even click on the Settings app menuitem. Because of 2 things: - The Dashboard settings is accessing the model ir_module_module. So we set a groups 'group_settings' on it. - The Users view is accessing the model ir_module_category to groups the aggregate and display the settings. So we change the security rules by giving the access to the group_erp_manager instead of group_settings - The global rules opn companies was applied to the erp managers. We splitted this ir.rules into three new ones on portal,public and employee users to allow the erp managers to access the companies - Writing on the res_groups was calling the method _update_user_groups_view in all the cases. This method should be called only when the view was needed to be modified, i.e. when the category_id is modified for this group.
2015-12-02[IMP] ir_translation: make access rights depend on translated recordRaphael Collet
A translation of a field value for a given record can only be created/updated/ deleted if the current user has access rights for updating the record. Access rights on translations are restricted to the group "Employee". Those still need create/write/delete access, in order to be able to edit records in the user interface. Other users (portal, etc.) simply have no explicit access rights at all on translations.
2015-09-30[IMP] res.users: move login_date info to extra tableOlivier Dony
Writing frequently to master data, and particularly to res.users records is dangerous because it can temporarily delay/abort concurrent transactions due to FK locking/serializability heuristics. (Even with PostgreSQL 9.3+) The `login_date` field updated when a user is authentiocated is still useful but better handled in a separate table that exclusively receives independent INSERTs (no UPDATE/DELETE). This minimizes the chances of transactional conflicts. This commit moves the login_date info into a separate `res.users.log` table for this purpose, replacing it with a related field. The user and login date info are automatically handled by the magical fields (create_uid, create_date) in `res.users.log`. The related field must not be stored because that would create the same problems as the original field. In order to cleanup redundant entries in res.users.log the 'auto-vacuum' cron job used for TransientModels was extended to be a generic "internal data vacuum cleaner", and now takes care of this as well. The code for updating last login and vacuuming was split up into smaller methods to make extensions easier. Fixes #8585 Fixes #8590
2015-08-21[IMP] restrict modules to system_groupXavier Morel
* listing of modules in website already bypassed session user * altered authenticated endpoint so it does the same * sudoed a few read accesses & name_get in groups * other accesses are list/form views, menu only accessible to system_user * new-API-ified some calls & unified listing of installed modules
2015-08-20[FIX] remove group_user read access to ir.cronXavier Morel
Should not be necessary for the correct working of odoo (normal cron lookup & processing is performed using raw SQL anyway). * fixed a few ref calls just in case * also cleaned up a few unused imports
2015-08-20[FIX] ir_fields_converter: make abstractXavier Morel
This is only a model in case third parties need to override stuff, it has no field and no reason to be a "concrete" model. Also * remove corresponding access rule giving CRUD to every user * remove unnecessary import * replace set() call by set literal * replace dict(generator_expr) by dict comprehensions
2015-08-20[REM] ir_default modelXavier Morel
Legacy model, doesn't seem to be used anywhere or have any point at all yet was accessible CRUD to all...
2015-08-19[REF] base: simplified res.partner.bank and res.bank objects for a greater ↵qdp-odoo
usability + [IMP] account: bank journals are now the bank accounts of a company
2015-07-16[IMP] base: remove multi_company.defaultFrédéric van der Essen
Multi_company.default was used to set the default company on newly created records in a multi-company environment. We remove it because it is redundant with User-Defined Default. The function _company_default_get is left for backward compatibility and to allow the creation of modules that implement more complex policies.
2014-12-18[IMP] base, ir_sequence: removed ir.sequence.type object, added test for ↵qdp-odoo
ir.sequence.date_range, refactored ir.sequence and ir.sequence.date_range implementation
2014-11-21[IMP] base, ir_sequence: added use_date_range field on ir.sequence, that ↵qdp-odoo
allows to have several sequences running for the same one depending on date ranges (similar to what was existing previously on accounting with FY, which is now deprecated) + port to new API
2014-08-29[FIX] base, mail: access to ir.config_parameter is now handled by byChristophe Simonis
record rules. Partial revert of commit 80017b04c2fefe895659f56e5e8d34bd59093e13. Conflicts: addons/web/static/src/js/chrome.js
2014-08-29[MERGE] forward port of branch saas-5 up to 24c25f5Christophe Simonis
2014-08-28[MERGE] forward port of branch saas-3 up to c914893Christophe Simonis
2014-08-28[MERGE] forward port of branch 7.0 up to f65c913Christophe Simonis
2014-08-28[FIX] base: security: employee must have access to res.groupsChristophe Simonis
2014-08-28[MERGE] forward port of branch saas-5 up to 7e117b1Christophe Simonis
2014-08-28[MERGE] forward port of branch saas-3 up to ada9724Christophe Simonis
2014-08-28[MERGE] forward port of branch 7.0 up to 3509e15Christophe Simonis
2014-08-26[FIX] security: disallow read on ir.sequence for externalsDenis Ledoux
2014-08-26[FIX] security: res.groups should be readable by admins onlyDenis Ledoux
2014-08-26[FIX] security: ir.config_parameter should not be readable by externalsDenis Ledoux
2014-07-02Speed ImprovementsFabien Pinckaers
2014-07-02FixesFabien Pinckaers
2014-06-30[IMP] automatic fiscal positions for simple casesAntony Lesuisse
Add group of countries res.country.group Add get_fiscal_position method a method to compute a fiscal position based on company_id, partner_id, delivery_id The meaning of res.partner.fiscal_position is now a forced a fiscal position. The default implementation should handle simple cases, like VAT in UE and sales tax in the US, but the method can be overriden to handle more complex ficals rules.
2014-06-03[MERGE] forward port of branch saas-3 up to 7dd6954Christophe Simonis
2014-06-03[MERGE] forward port of branch 7.0 up to 0c4bc1cChristophe Simonis
2014-06-02[FIX] base: security, do not override basic ir_config_paramter ACLDenis Ledoux
2014-06-02[FIX] base: security, group settings is authorized to alter ir.config_parameterDenis Ledoux
2014-03-18[FIX] ir_logging aclAntony Lesuisse
bzr revid: al@openerp.com-20140318002954-3vc2wj6llc2017bu
2014-01-16[CLEAN] [REM] ir_qweb: removed access rules on the various ir_web modelsThibault Delavallée
as those are abstract models. They should not have any access rules. bzr revid: tde@openerp.com-20140116140621-6mjkp82oy0iyahi7
2014-01-13[FIX] base.language.install remove explicit access ↵Christophe Matthieu
access_base_language_install_group_user bzr revid: chm@openerp.com-20140113173509-4syed8md6drifv2q
2014-01-13[FIX] base_language_install: add access right: access for group_userChristophe Matthieu
bzr revid: chm@openerp.com-20140113082826-glv3v4pum6k4l1hh
2014-01-13[FIX] res.font: add access right: read allow for all user and all allow for ↵Christophe Matthieu
group_user bzr revid: chm@openerp.com-20140113082004-x494blqy2xjfc4wl
2013-10-21[ADD] formatting of date and datetime t-fieldXavier Morel
bzr revid: xmo@openerp.com-20131021152639-2o2j2knhuppdlbzm
2013-10-14[MERGE] from parentXavier Morel
bzr revid: xmo@openerp.com-20131014085215-qoqytud1mkpdqbz0
2013-10-08[FIX] rename currency widget to monetary to match viewsXavier Morel
bzr revid: xmo@openerp.com-20131008122006-k7xjv2lkd0t7lza7
2013-10-08[MOV] portal: moved group_portal from portal module to base. First step ↵Thibault Delavallée
towards including portal stuff directly into server. bzr revid: tde@openerp.com-20131008113338-mrkae8rwv4jif1x6
2013-10-08[ADD] missing access rule thingXavier Morel
bzr revid: xmo@openerp.com-20131008082543-pzpknr48xfdbxxna
2013-10-07[IMP] move image serialization to image widget, not all binary fieldsXavier Morel
bzr revid: xmo@openerp.com-20131007113133-y0xcj0tgp8ionrzo
2013-10-07[IMP] move field conversion aroundXavier Morel
ir.fields architecture turns out not to be a very good or simple fit, especially as different widgets/fields need different granularity of customizations. Having objects dedicated to each field type/widget makes things simpler as it allows a conversion pipeline which can be plugged into at any point. bzr revid: xmo@openerp.com-20131007091556-03azc2mdhcb7kmwo
2013-10-07[MERGE] Sync with trunk until revision 4967 (including al cleaning)Thibault Delavallée
bzr revid: tde@openerp.com-20131007081039-adyay7oy1tpx4g2k
2013-10-06[REM] shortcuts, deprecated by bookmarksAntony Lesuisse
bzr revid: al@openerp.com-20131006132424-bpd8w0zzuf42s55l
2013-10-06[IMP] Technical menu reorg, remove depreacted requests.Antony Lesuisse
Moved low levels object to database structure. Removed res.request models bu keep res.request.link, res.request.link is used to flag models worth to be linked by references fields. Moved currency and state to the approriate directory. bzr revid: al@openerp.com-20131006112608-3qucrevmkf43kq20
2013-10-06[IMP] ir_actions cleanups.Antony Lesuisse
Remove deprecated old style wizards. Remove unsed get_model() function. Move crons into Actions menuitem. Move todos into Actions menuitem. bzr revid: al@openerp.com-20131006102404-s46md70ahydihiih
2013-10-02[MERGE] Sync with trunk until revision 4957.Thibault Delavallée
bzr revid: tde@openerp.com-20131002133820-8xomdumexexqp3pk
2013-09-12[IMP] ir_model_data: restrict ir_model_data rule to read only for user and ↵Martin Trigaux
add create to group_user bzr revid: mat@openerp.com-20130912075353-s1hjsz3b0lvzhzj3
2013-09-11[MERGE] sync with trunkMartin Trigaux
bzr revid: mat@openerp.com-20130911094257-yu17yffdawc45v2a
2013-09-03[FIX] ir.filters: deduplicate redundant ACL on ir.filtersOlivier Dony
By default everybody should be able to read and modify filters, and this is coupled with a global ir.rule that only permits viewing and touching global filters and owned filters. bzr revid: odo@openerp.com-20130903172606-7vn0z2gz71urfdtz