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

Bug #1839173 reported by Nathan Calvert on 2019-08-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
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)

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

kidcalvert

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)

Kovid Goyal (kovid) wrote :

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

kidcalvert

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

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
Kovid Goyal (kovid) wrote :

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

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.

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  Edit
Everyone can see this information.

Other bug subscribers