opds feed shows other books with same tags when those books are not allowed.

Bug #1839173 reported by Nathan Calvert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

I had one book allowed to a user in the server. I created a unique tag so the user could only view books with that tag. The book used also had other tags which I did not touch. When I explored the opds feed, I went to view by tags, and noticed the other tags the book had were there. I clicked on the tab and many other books appeared from the library, including some that are not appropriate for the user.
Version: 3.39.1
Linux Debian Buster (Pi)

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1839173

Post the metdata.db from your calibre library folder and the search expression
you used to restrict books to just one tag.

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
Nathan Calvert (ghostyroastytoasty) wrote :

kidcalvert

Revision history for this message
Nathan Calvert (ghostyroastytoasty) wrote :

The book had multiple tags, including fantasy. When fantasy was selected, all books with that tag appeared, including many that were not selected to be visible to the user (also kidcalvert)

Revision history for this message
Kovid Goyal (kovid) wrote :

What search expression did you use to restrict the books visible to the user?

Revision history for this message
Nathan Calvert (ghostyroastytoasty) wrote :

kidcalvert

Revision history for this message
Nathan Calvert (ghostyroastytoasty) wrote :
Revision history for this message
Nathan Calvert (ghostyroastytoasty) wrote :
Revision history for this message
Nathan Calvert (ghostyroastytoasty) wrote :

Works via browser, but not opds as shown in Moonreader screenshots posted.

Revision history for this message
Kovid Goyal (kovid) wrote :

If you want to limit to a specific tg, the syntax is:

tags:"=kidcalvert"

Click on a tag in the tag browser in the main calibre program to see an
example.

 status invalid

Changed in calibre:
status: Incomplete → Invalid
Revision history for this message
Kovid Goyal (kovid) wrote :

And you should still be unable to actually read any of those books in moonreader.

Revision history for this message
Kovid Goyal (kovid) wrote :

And the issue with not allowed books being listed (though not actually
downloadable) in the OPDS feed will be fixed in the next release.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.