{"action":"closed","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/24931","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/24931/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/24931/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/24931/events","html_url":"https://github.com/odoo/odoo/issues/24931","id":326773057,"node_id":"MDU6SXNzdWUzMjY3NzMwNTc=","number":24931,"title":"Error when trying to open contact with user without event permissions","user":{"login":"luisg123v","id":19801181,"node_id":"MDQ6VXNlcjE5ODAxMTgx","avatar_url":"https://avatars1.githubusercontent.com/u/19801181?v=4","gravatar_id":"","url":"https://api.github.com/users/luisg123v","html_url":"https://github.com/luisg123v","followers_url":"https://api.github.com/users/luisg123v/followers","following_url":"https://api.github.com/users/luisg123v/following{/other_user}","gists_url":"https://api.github.com/users/luisg123v/gists{/gist_id}","starred_url":"https://api.github.com/users/luisg123v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisg123v/subscriptions","organizations_url":"https://api.github.com/users/luisg123v/orgs","repos_url":"https://api.github.com/users/luisg123v/repos","events_url":"https://api.github.com/users/luisg123v/events{/privacy}","received_events_url":"https://api.github.com/users/luisg123v/received_events","type":"User","site_admin":false},"labels":[{"id":712046675,"node_id":"MDU6TGFiZWw3MTIwNDY2NzU=","url":"https://api.github.com/repos/odoo/odoo/labels/11.0","name":"11.0","color":"80f438","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-26T22:57:57Z","updated_at":"2018-06-06T08:16:49Z","closed_at":"2018-06-06T08:16:49Z","author_association":"CONTRIBUTOR","body":"Impacted versions:\r\n- 11.0\r\n\r\nSteps to reproduce:\r\n- Log in with any user which has access to contacts and has no access to events.\r\n- Go to contacts\r\n- Open any contact\r\n\r\nCurrent behavior:\r\nThe following error is shown:\r\n\r\n> Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\r\n> `-` Events/User\r\n>\r\n> (Document model: event.registration)\r\n\r\nExpected behavior:\r\nThe user should be able to access any contact, because he/she has enough permissions to do so.\r\n\r\nThis error is caused by a recently introduced commit (https://github.com/odoo/odoo/commit/19878d011f8abdc737b7b702c4c79632670d4b78) which was intended to strengthen access rules for the event model.\r\n\r\nVideo/Screenshot link (optional):\r\nReplicated in Runbot at: https://youtu.be/eh43-Zz4-MM\r\n"}}
{"actor":{"display_login":"kebeclibre"}}