{"action":"created","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3460","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3460/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3460/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3460/events","html_url":"https://github.com/inveniosoftware/invenio/issues/3460","id":102094541,"number":3460,"title":"login: all users treated as guests (no login possible)","user":{"login":"jmartinm","id":580727,"avatar_url":"https://avatars.githubusercontent.com/u/580727?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartinm","html_url":"https://github.com/jmartinm","followers_url":"https://api.github.com/users/jmartinm/followers","following_url":"https://api.github.com/users/jmartinm/following{/other_user}","gists_url":"https://api.github.com/users/jmartinm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartinm/subscriptions","organizations_url":"https://api.github.com/users/jmartinm/orgs","repos_url":"https://api.github.com/users/jmartinm/repos","events_url":"https://api.github.com/users/jmartinm/events{/privacy}","received_events_url":"https://api.github.com/users/jmartinm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/t_bug","name":"t_bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/6","html_url":"https://github.com/inveniosoftware/invenio/milestones/v2.2.0","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/6/labels","id":696686,"number":6,"title":"v2.2.0","description":"Invenio v2.2 will use new data model and fully run on PostgreSQL.","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":150,"closed_issues":168,"state":"open","created_at":"2014-06-20T11:43:39Z","updated_at":"2015-08-20T09:25:22Z","due_on":"2015-07-30T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-08-20T08:57:33Z","updated_at":"2015-08-20T09:34:07Z","closed_at":null,"body":"There is a problem in this line https://github.com/inveniosoftware/invenio/blob/master/invenio/ext/login/legacy_user.py#L159\r\n\r\n```\r\n*** AttributeError: 'User' object has no attribute 'groups'\r\n```\r\n\r\nwhich causes the following line to execute https://github.com/inveniosoftware/invenio/blob/master/invenio/ext/login/legacy_user.py#L166\r\n\r\nThat means that currently it is not possible to login into the system."},"comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments/132954020","html_url":"https://github.com/inveniosoftware/invenio/issues/3460#issuecomment-132954020","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/3460","id":132954020,"user":{"login":"jmartinm","id":580727,"avatar_url":"https://avatars.githubusercontent.com/u/580727?v=3","gravatar_id":"","url":"https://api.github.com/users/jmartinm","html_url":"https://github.com/jmartinm","followers_url":"https://api.github.com/users/jmartinm/followers","following_url":"https://api.github.com/users/jmartinm/following{/other_user}","gists_url":"https://api.github.com/users/jmartinm/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartinm/subscriptions","organizations_url":"https://api.github.com/users/jmartinm/orgs","repos_url":"https://api.github.com/users/jmartinm/repos","events_url":"https://api.github.com/users/jmartinm/events{/privacy}","received_events_url":"https://api.github.com/users/jmartinm/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T09:34:07Z","updated_at":"2015-08-20T09:34:07Z","body":"Yes, that is the problem actually. On INSPIRE we do not need `invenio_groups` in principle so I did not have it in `PACKAGES`.\r\n\r\nThe code should not fail `invenio_groups` is not installed."}}