{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/23776","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/23776/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/23776/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/23776/events","html_url":"https://github.com/odoo/odoo/issues/23776","id":306909759,"number":23776,"title":"CRM - User X can see oppertunities with no <user_id> configured","user":{"login":"Patrickar","id":36632285,"avatar_url":"https://avatars0.githubusercontent.com/u/36632285?v=4","gravatar_id":"","url":"https://api.github.com/users/Patrickar","html_url":"https://github.com/Patrickar","followers_url":"https://api.github.com/users/Patrickar/followers","following_url":"https://api.github.com/users/Patrickar/following{/other_user}","gists_url":"https://api.github.com/users/Patrickar/gists{/gist_id}","starred_url":"https://api.github.com/users/Patrickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patrickar/subscriptions","organizations_url":"https://api.github.com/users/Patrickar/orgs","repos_url":"https://api.github.com/users/Patrickar/repos","events_url":"https://api.github.com/users/Patrickar/events{/privacy}","received_events_url":"https://api.github.com/users/Patrickar/received_events","type":"User","site_admin":false},"labels":[{"id":712046675,"url":"https://api.github.com/repos/odoo/odoo/labels/11.0","name":"11.0","color":"80f438","default":false},{"id":620800901,"url":"https://api.github.com/repos/odoo/odoo/labels/Services","name":"Services","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T15:14:03Z","updated_at":"2018-03-21T09:56:03Z","closed_at":"2018-03-21T09:56:03Z","author_association":"NONE","body":"**Impacted versions:**\r\n11\r\n\r\n**Steps to reproduce:**\r\nOpen CRM pipeline and kanban view is presented\r\n\r\n**Current behavior:**\r\n- User X has rights: \"see own documents only\" in CRM setting\r\n- User X can see oppertunities in which no salesperson = <user_id> is configured\r\n\r\nExpected behavior:\r\n- User X should ONLY see oppertunities in which he/she is  the sales person <user_id>\r\n\r\nVideo/Screenshot link (optional):\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/374884131","html_url":"https://github.com/odoo/odoo/issues/23776#issuecomment-374884131","issue_url":"https://api.github.com/repos/odoo/odoo/issues/23776","id":374884131,"user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars2.githubusercontent.com/u/7165771?v=4","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T09:56:03Z","updated_at":"2018-03-21T09:56:03Z","author_association":"CONTRIBUTOR","body":"Hi @Patrickar,\r\n\r\nSorry, but the intended behavior is the one you have described as current one: a user with \"See own documents only\" permission can see the opportunities that is assigned, but also the opportunities with nobody assigned. If you don't want this behavior for your use case, you can modify record rules in your DB with your own implementation, but it shouldn't be changed here.\r\n\r\nClosing then."}}
{"actor":{"display_login":"pedrobaeza"}}