When a new self registered user access to a document detailed view, an internal server error is raised #1255
Labels
bug
Breaks something but is not blocking
f: permissions
Concerns the rights management
f: public ui
Public interface, as opposed to the professional interface
p-Low
Low priority
Describe the bug
In the public view, when a self registered user want access to document details view,
it raises an internal server error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The new logged in user can view the detail of a document.
Context
Screenshots
Additional context
When a user registers on the site, its new account is not associated with a Patron resource.
It's only an invenio user.
In the document detail view, there is a method to check if the user can request the document.
To do that, we need the patron resource.
The text was updated successfully, but these errors were encountered: