summaryrefslogtreecommitdiff
path: root/addons/project/security/project_security.xml
AgeCommit message (Collapse)Author
2019-04-02[FIX] project: adding channels members to a private projectGoffin Simon
Steps to reproduce: - Create a channels C with user A linked to an employee E - Create project P with privacy_visibility='followers' meaning only visible for employees that follow P - Add the channel C as a follower of P - Log as user A go to Project app Bug: The project P is not readable for A opw:1958386 closes odoo/odoo#32324 Signed-off-by: Simon Goffin (sig) <sig@openerp.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-09-10[MERGE] forward port branch saas-11.4 up to 1199451606cChristophe Simonis
2018-09-10Revert "[IMP] base: Remove unused module categories"Yannick Tivisse
This reverts commit 382fbd35204ff947c16b795ca090c97d6741fb1d.
2018-08-23[IMP] base: add regular user admin as uid 2Raphael Collet
User 1 simply becomes a technical user (inactive, no password).
2018-04-26[IMP] base: Remove unused module categoriesYannick Tivisse
The categories other extra rigths and hidden are not used now.
2018-04-06[IMP] project,hr_timesheet: no 'remaining hours' field in projectjem-odoo
'remaining_hours' is defined in project as a simple float field, manually updateable, only displayed when the group "Time Estimation on Task" is activated. But for now, there is no setting to active this group. Those are legacy useless stuff, so we can remove it. The purpose is to make 'time estimation' feature only available when timesheet is installed. Thie commit also split the compute methods of 'remaining_hours' and 'progress' fields to make 'remaining_hours' updateable, though inverse method. Without splitting the compute method, the calculation of the progress was done correctly during onchange but not when saving.
2017-12-12[REM] rating_project: kill the module and move feature in projectJérome Maes
Impacted modules: project, rating_project, sale_service_rating and website_rating_project. Removed modules: rating_project and sale_service_rating. Move code to empty 'rating_project' module, in order to kill it. Code is not modified, simply copy/paste at the right place in 'project' module code. However, 'enable rating on task' options is convert into a res.groups that can be activated from the project settings.
2017-11-03[IMP] project: misc typosFabien Pinckaers
2017-08-16[MOV] website_project,project: move all featuresJérome Maes
Making project depending on portal, makes website_project useless. So move all feature from one module to the other.
2017-05-24[IMP] project, *_timesheet: move subtasks to projectHiral Bhavsar
-> Move Subtasks mechanism from hr_timesheet to project. -> Various functional improvements: - Add new 'Sub-tasks' setting and 'Sub-task Project' field based on this setting. - Relabel 'Team Collaboration' section to 'Task Management'. - Remove 'Customer Satisfaction' section and move setting 'Rating on Tasks' into 'Task Management' section. - Add customer name on the project's kanban view. - Set default value of 'Sub-task Project' field is the same project. - Add 'Parent Task' stat button on task form view. - Make 'Sub-Tasks' stat button visible when no parent task
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-07-06[ADD] website_project: Portal access to ProjectsAntony Lesuisse
Split project to move portal features to a new module named website_project. Portal users may now access their projects and tasks throught the website_portal My account page. The Backend portal menuitem is removed. Simplify the privacy settings of project, to be visible to portal users the project must be in 'portal' mode. Original authors: Vipul Bhatt, Florian Wintjens
2016-06-30[MIG] project: migration to new api except project.pyGaurav Panchal
2016-02-18[IMP] hr_timesheet: Timesheet entries are now related to projectsTanguy Charlier
- Hide account_id field and add a required project_id field on timesheet entries - Remove is_timesheet field: as project_id is only required for timesheet entries and not for other analytic lines, it can be used to determine wether a line is a timeheet entry or not. - Remove project_timesheet module as all its functionalities are moved to hr_timesheet - Replace timesheets on contract option on products by timesheets on project - Small fixes and improvements in timesheets and projects views and groups
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.
2015-10-01[MERGE] forward port of branch saas-6 up to e9f1ee4Christophe Simonis
2015-09-28[FIX] project: multi-company security rules in Tasks AnalysisDenis Ledoux
This change avoid to display the tasks that a user is not permitted to see in the reporting view 'Task analysis' Closes #4399 Courtesy of jkei https://github.com/jkei
2015-08-21[REF] mail: mail_thread: followers updateThibault Delavallée
Followers can now be partners or channels. Partners following a document will receive needaction, as previously. However people can follow documents through channels. Members of a channel are able to listen to a stream of messages using the channel. Those messages do not create needaction messages. It is therefore possible to follow documents without receiving too much notifications. For interesting documents subscribing with its partner will create notification. message_follower_ids fields is udpated. It is now a many2many to mail.followers, not to res.partner anymore. A subscription can be either a partner (partner_id) or a channel (channel_id). Some access rules have been updated accordingly.
2015-08-14[IMP] project,project_issue,project_timesheet,project_issue_sheet: project ↵Damien Bouvy
visibility and access rights modifications [REM] portal_project: move ALL the things - move portal access rights from portal_project and website_project_issue to project and project_issue - move portal menuitems back to their respective module - remove public visibility of projects - adapt demo data to have a 'Demo Portal' project - add correct access rights for account.analytic.line for portal users - small view tweak (do not display 'timesheet' tab if one can't see antyhing in it anyway)
2015-07-08[IMP] Project : remove task delegationYannick Tivisse
Conflicts: addons/project/wizard/project_task_delegate.py
2015-07-06[FIX] Menu configuration in root menuYannick Tivisse
2014-11-18[FIX] project: access rights and followersMartin Trigaux
For privacy_visibility 'followers' or 'portal', the user should be follower of the project (not the task). Remove public access to portal task Fixes #2372 If no project on the task (or other rule), an employee (not a portal) can access if is follower of the task. Follower rule is not enough as a user creating a rule will subscribe to the rule but to subscribe to record, the user should have access to it in the first place. To make sure the snake does not bit its tail, fallback to give access on task where the user is reponsible (user_id = user.id). Fixes #139 Adapted the tests to the new behaviour (removed not relevant and added some on creation)
2014-11-06[FIX] project: access task without projectMartin Trigaux
Allow access to task without a project defined if the user is follower. Fixes #3450
2014-04-25[FIX] project: force menu nameChristophe Simonis
bzr revid: chs@openerp.com-20140425170357-iqcqqfe71mm2z0qg
2013-06-05[MERGE]sync with trunksgo@tinyerp.com
bzr revid: sgo@tinyerp.com-20130605071905-o2ldzc6vxqnoe099
2013-04-26[FIX] project, task, issue, portal: fixed access rules for employees/portal ↵Thibault Delavallée
users + added an help on privacy_visibility. bzr revid: tde@openerp.com-20130426130259-35j0v7lg7unxhzzp
2013-04-17[MERGE]sync with trunksgo@tinyerp.com
bzr revid: sgo@tinyerp.com-20130417060441-6vnz2tiym5fawr2n
2013-04-12[FIX] [ADD] project, project_issue, portal_project, portal_project_issue: ↵Thibault Delavallée
improved privacy_visibility selection of project.project; improved access rules; added tests to enforce them. bzr revid: tde@openerp.com-20130412143719-ztjo06r900l024dm
2013-03-12[IMP]improve yml for project and add access rights as neededsgo@tinyerp.com
bzr revid: sgo@tinyerp.com-20130312112700-zamjzcjp5d9nv5n0
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-10-10[IMP] project: made little change in ir ruleAjay Chauhan (OpenERP)
bzr revid: cha@tinyerp.com-20121010083548-lt8oncuanvcfpqk2
2012-10-08[IMP] project: solved the issue of 'Followers Only' visibility for projectAjay Chauhan (OpenERP)
bzr revid: cha@tinyerp.com-20121008131720-v1573v9zitef1whp
2012-09-10[FIX] Project: fixed a security rule based on follower_ids, that is now ↵Thibault Delavallée
message_follower_ids. bzr revid: tde@openerp.com-20120910075850-0b5sg1vljcc8gba9
2012-08-22[REM] project: removed custom 'followers' fields; security rule updated to ↵Thibault Delavallée
use follower_ids. bzr revid: tde@openerp.com-20120822074924-bbb5lc1w48dtebeb
2012-07-13Harmonize the noupdate flag on security XML files :Alexis de Lattre
- ir.rule objects are noupdate="1" - all other objects are noupdate="0" bzr revid: alexis@via.ecp.fr-20120713170838-pjsysliyt6twazrc
2012-06-28[IMP] improvements during code reviewQuentin (OpenERP)
bzr revid: qdp-launchpad@openerp.com-20120628121820-r8bxfzq38fy8pcgt
2012-06-28[IMP]remove tabs and add spaces instead of themSanjay Gohel (Open ERP)
bzr revid: sgo@tinyerp.com-20120628064005-zuerrpazumf5lf1q
2012-06-14[IMP] project: implemented the privacy/visibility record rule in a cleaner ↵Quentin (OpenERP)
way + some cleanup and bug fixing related to contract management bzr revid: qdp-launchpad@openerp.com-20120614100922-5g29ui88nhqojon2
2012-06-13[IMP]:passed base menus ref instead of project.Amit Patel (OpenERP)
bzr revid: apa@tinyerp.com-20120613131507-1yezuu5k7dc1h9s3
2012-06-13[MERGE] merged with main trunkQuentin (OpenERP)
bzr revid: qdp-launchpad@openerp.com-20120613090855-9tpft9kutxzgwyze
2012-06-12[MERGE] trunk-first_10_clicks-psi (add group to enable task delegation)Raphael Collet
bzr revid: rco@openerp.com-20120612095835-iisiv73hqbhe9l9w
2012-06-04[IMP]project: Set record rule for public or followersDBR (OpenERP)
bzr revid: dbr@tinyerp.com-20120604064419-3scxoolmyj8iskw3
2012-05-29[IMP]project : change reference of group group_delegate_taskAjay Chauhan (OpenERP)
bzr revid: cha@tinyerp.com-20120529073311-98bkx7jlisvinrba
2012-05-29[IMP]project : add new group to restrict delegationAjay Chauhan (OpenERP)
bzr revid: cha@tinyerp.com-20120529061415-x8salptgz19hyop2
2012-04-27[IMP] Project: Add new field in configuration wizard, add new group in ↵Jagdish Panchal (Open ERP)
security xml, and apply group in project_view.xml bzr revid: jap@tinyerp.com-20120427071701-obqjn71vu7dykjki
2012-04-04[IMP] groups: remove auto-inclusion of admin in groups, and make the ↵Raphael Collet
inclusion explicit in groups bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2011-12-12[IMP] base_contact, event, knowledge, product, project, sale_mrp: avoid ↵Raphael Collet
redefinition of sale groups bzr revid: rco@openerp.com-20111212145128-zx64v0uwf8n0lwyu
2011-12-12[IMP] product, project, purchase, purchase_requisition: add group categoriesRaphael Collet
bzr revid: rco@openerp.com-20111212140528-g8oxverkipswionf
2011-08-02add group implicationsRaphael Collet
bzr revid: rco@openerp.com-20110802130811-pkdmw43ufifz0tpj