{"action":"created","issue":{"url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator/issues/3","repository_url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator","labels_url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator/issues/3/comments","events_url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator/issues/3/events","html_url":"https://github.com/CERNDocumentServer/cds-migrator/issues/3","id":341884949,"node_id":"MDU6SXNzdWUzNDE4ODQ5NDk=","number":3,"title":"[US] Books: migrate access rights ","user":{"login":"ludmilamarian","id":5615123,"node_id":"MDQ6VXNlcjU2MTUxMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/5615123?v=4","gravatar_id":"","url":"https://api.github.com/users/ludmilamarian","html_url":"https://github.com/ludmilamarian","followers_url":"https://api.github.com/users/ludmilamarian/followers","following_url":"https://api.github.com/users/ludmilamarian/following{/other_user}","gists_url":"https://api.github.com/users/ludmilamarian/gists{/gist_id}","starred_url":"https://api.github.com/users/ludmilamarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludmilamarian/subscriptions","organizations_url":"https://api.github.com/users/ludmilamarian/orgs","repos_url":"https://api.github.com/users/ludmilamarian/repos","events_url":"https://api.github.com/users/ludmilamarian/events{/privacy}","received_events_url":"https://api.github.com/users/ludmilamarian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T11:48:39Z","updated_at":"2018-07-18T13:45:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Migrate the access rights for books. In principle, all book records on CDS are public, but maybe there are some corner cases."},"comment":{"url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator/issues/comments/405936105","html_url":"https://github.com/CERNDocumentServer/cds-migrator/issues/3#issuecomment-405936105","issue_url":"https://api.github.com/repos/CERNDocumentServer/cds-migrator/issues/3","id":405936105,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTkzNjEwNQ==","user":{"login":"egabancho","id":582735,"node_id":"MDQ6VXNlcjU4MjczNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/582735?v=4","gravatar_id":"","url":"https://api.github.com/users/egabancho","html_url":"https://github.com/egabancho","followers_url":"https://api.github.com/users/egabancho/followers","following_url":"https://api.github.com/users/egabancho/following{/other_user}","gists_url":"https://api.github.com/users/egabancho/gists{/gist_id}","starred_url":"https://api.github.com/users/egabancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egabancho/subscriptions","organizations_url":"https://api.github.com/users/egabancho/orgs","repos_url":"https://api.github.com/users/egabancho/repos","events_url":"https://api.github.com/users/egabancho/events{/privacy}","received_events_url":"https://api.github.com/users/egabancho/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T13:45:00Z","updated_at":"2018-07-18T13:45:00Z","author_association":"MEMBER","body":"The ACLs related with the collections are already taken care of by the Invenio-migrator https://github.com/inveniosoftware/invenio-migrator/blob/master/invenio_migrator/legacy/records.py#L110 .\r\nBut I guess they still need to be treated properly when loading the records, like here https://github.com/CERNDocumentServer/cds-videos/blob/cdslabs_qa/cds/modules/migrator/records.py#L93\r\n\r\n---\r\n\r\nWe kept older versions of the records only accessible by admins because we couldn't calculate the ACLs properly https://github.com/CERNDocumentServer/cds-videos/blob/cdslabs_qa/cds/modules/migrator/records.py#L119"}}
{"actor":{"display_login":"egabancho"}}