summaryrefslogtreecommitdiff
path: root/addons/fleet/security/fleet_security.xml
AgeCommit message (Collapse)Author
2020-03-20[IMP] *: remove global field definition in ir rules xmlVictor Feyens
It is a computed field, there is no need to manually set its value.
2020-03-06[FIX] fleet,hr_fleet: Fix user rightsjbm-odoo
Task ID: 2170625 closes odoo/odoo#47079 X-original-commit: ee13013808460c5100bec03ed415fc184ff031e5 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-27[IMP] fleet: model cleanup, dashboardKevin Baptiste
Purpose ======= It is currently difficult to know exactly what is used for costs and services on the contracts. Hence it make it difficult to evolve the fleet application We should clean the models in order to have something that is clearer Specification ============= Cleanup of models: removed Fuel and Cost. Contract and Services are no longer inheriting Cost and are seperate models simplifying the use of Fleet. A contract now has included services and they are no longer generating cost. closes odoo/odoo#34090 Taskid: 1931775 Related: odoo/enterprise#4572 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-01[FIX] fleet: Add multi company ir.ruleLucas Lefèvre
Purpose ======= Since the new company switcher, it's now easier to manage records of different companies. Specification ============= Add a multi company `ir.rule` for `fleet.vehicle`. closes odoo/odoo#34426 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-03-05[IMP] base,*: Reorganize access rights groupsjbm-odoo
Purpose ======= Access group terminology is missleading. Yous have to be manager to administrate an application. This task consists to rename groups to be understandable for everyone. Groups should be reorganised on the users form to be more explicit. Specification ============= 1/ Rename 'Manager' to 'Administrator' in users groups. 2/ Define a hierarchy on access groups by using the category_id in the manifests A category 'Operations/Project' will create a category Project with a parent category 'Operations', and something smart is already developed (in modules/db.py) to avoid duplicating categories. 3/ Add a group in expenses to be able to approve expenses reports for my team. 4/ Add a group in timesheets to be able to approve timesheets for my team. 5/ Remove partially the useless crap in ir_module_category_data.xml 6/ Sort access rights groups on users form according to its parent category closes odoo/odoo#29362 Signed-off-by: "Yannick Tivisse (yti)" <yti@odoo.com>
2018-08-23[IMP] base: add regular user admin as uid 2Raphael Collet
User 1 simply becomes a technical user (inactive, no password).
2016-09-20[FIX] fleet: Fleet user rigths implies employees user rightsYannick Tivisse
Create users having only manager or user rights on fleet, cannot acces \web pages, We should add the employee rights, as when we give fleet rights
2016-08-23[IMP] base_setup: Allow the admin to modify the default user acess rightsYannick Tivisse
Add a link in the general settings to access easily the default_user form view in order to modify the default access rights The default_user manager rights declarations in all the applications have been move in a noupdate="1" definition to avoid the manual configuration overwrittings
2016-05-27[IMP] fleet: migrate to new api (fleet.py). my eye is painingRavi Gadhia
2015-11-20[IMP] Newly created users get all manager access rightYannick Tivisse
Coming from a bug in web_settings_dashboard. Invited user didn't have any rights when created from the dashboard, which was leading to an error. This bug leaded to a new discussion. Better to have basic employee having user rights for all main applications. For bigger entreprises there is an admin that will carefully remove extra rights, if necessary. The target is small businesses, it makes sense that every way to create a user gives the same result. In conclusion, each new user has a full access to the applications by default How is it implemented ? We added an inactive default user which original access right to the groups 'base.group_user' and 'base.group_partner_manager' in base. Each application will extend the default user's access right by adding the maximal access right for this application. On user creation, we will use by default the 'group_id' field from the default user. We will in the same time remove the ugly 'default_groups_ref' key which was passed sometimes in the context for some fields in some views, and sometimes nothing. So, the user can modify the access rights for the default user, but he should be aware that removing project user access rights for a default user will prevent a *created on the fly in a task* user will not be able to access the task.
2012-12-19[MERGE] Harmonization of noupdate flag on security XML data, courtesy of ↵Olivier Dony
Alexis de Lattre (Akretion) ir.rule records are in noupdate data blocks to let the admin alter them without fear of them being reset at next update. Other records such as groups are in normal mode, so they can be updated whenever necessary bzr revid: odo@openerp.com-20121218232001-t425t4hi7qbmsip2
2012-12-17[FIX]fleet: setting group for user_demo should be done in demo data instead ↵Cedric Snauwaert
of data bzr revid: csn@openerp.com-20121217132045-lt0b2aeubty1hrkn
2012-12-10[ADD]after install go to fleet menu, change driver of demo data to demo_user ↵Cedric Snauwaert
and put demo_user in fleet_user group bzr revid: csn@openerp.com-20121210162834-bej2x1m8vms87qre
2012-12-10[ADD]search field and some changes to fuel and service log: purchaser should ↵Cedric Snauwaert
be driver by default bzr revid: csn@openerp.com-20121210140317-kg03hsk46rpzgcyx
2012-12-06[FIX]finish renaming some fieldCedric Snauwaert
bzr revid: csn@openerp.com-20121206142941-pmq2s4h2or1ey0nl
2012-12-06[REF]change some field name, remove useless line in access rulesCedric Snauwaert
bzr revid: csn@openerp.com-20121206105033-6dcffqm1626jt5r8
2012-12-04[ADD]access rules and groupsCedric Snauwaert
bzr revid: csn@openerp.com-20121204162056-cacua9dw1shg5fnv