{"action":"opened","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/issues/12","repository_url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/issues/12/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/issues/12/events","html_url":"https://github.com/inveniosoftware/invenio-accounts-rest/issues/12","id":202389266,"number":12,"title":"views: no commit after role (un)assignment","user":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"labels":[{"id":437059473,"url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/labels/Lane:%20fast","name":"Lane: fast","color":"ffa868","default":false},{"id":437059511,"url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/labels/Size:%20easy","name":"Size: easy","color":"bc3cbc","default":false},{"id":437059429,"url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/labels/Status:%20in%20work","name":"Status: in work","color":"38a828","default":false},{"id":437046969,"url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/labels/Type:%20bug","name":"Type: bug","color":"ff2a00","default":false}],"state":"open","locked":false,"assignee":{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false},"assignees":[{"login":"nharraud","id":5708796,"avatar_url":"https://avatars.githubusercontent.com/u/5708796?v=3","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/milestones/1","html_url":"https://github.com/inveniosoftware/invenio-accounts-rest/milestone/1","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-accounts-rest/milestones/1/labels","id":1984476,"number":1,"title":"v1.0.0","description":null,"creator":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":6,"state":"open","created_at":"2016-09-05T15:44:29Z","updated_at":"2017-01-22T15:23:57Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-01-22T15:23:57Z","updated_at":"2017-01-22T15:23:57Z","closed_at":null,"body":"**Problem:**\r\n`db.session.commit()` is not called after roles are assigned or unassigned. The tests don't detect this bug as the check is ran in the same application context."}}
{"actor":{"display_login":"nharraud"}}