Shelf permissions are copied to existing books when books on the shelf are added/removed #5463

Closed
opened 2026-02-05 10:05:06 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @rozdun on GitHub (Oct 18, 2025).

Describe the Bug

Shelf permissions are copied to existing books when books on the shelf are added/removed or when the shelf is edited (e.g. changing the description).

Steps to Reproduce

  1. Create a shelf.
  2. Create two books on the shelf and set custom permissions there.
  3. Do any of the following:
  • Create a third book on the shelf.
  • Create a new book outside the shelf, and then move it to the shelf.
  • Remove one book from the shelf (move to another shelf or no shelf).
  • Edit the shelf (change the description).

Expected Behaviour

  • Existing books on the shelf use their custom permissions, not the shelf permissions.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v25.05.1

Originally created by @rozdun on GitHub (Oct 18, 2025). ### Describe the Bug Shelf permissions are copied to existing books when books on the shelf are added/removed or when the shelf is edited (e.g. changing the description). ### Steps to Reproduce 1. Create a shelf. 2. Create two books on the shelf and set custom permissions there. 3. Do any of the following: - Create a third book on the shelf. - Create a new book outside the shelf, and then move it to the shelf. - Remove one book from the shelf (move to another shelf or no shelf). - Edit the shelf (change the description). ### Expected Behaviour - Existing books on the shelf use their custom permissions, not the shelf permissions. ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v25.05.1
OVERLORD added the 🐕 Support label 2026-02-05 10:05:06 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 18, 2025):

Hi @rozdun,

Do you have any customizations active, or an APP_THEME option set in your BookStack .env file?

@ssddanbrown commented on GitHub (Oct 18, 2025): Hi @rozdun, Do you have any customizations active, or an `APP_THEME` option set in your BookStack `.env` file?
Author
Owner

@rozdun commented on GitHub (Oct 19, 2025):

Indeed I had active customizations I wasn't aware of. Thank you!

@rozdun commented on GitHub (Oct 19, 2025): Indeed I had active customizations I wasn't aware of. Thank you!
Author
Owner

@ssddanbrown commented on GitHub (Oct 19, 2025):

@ssddanbrown No worries. Just to confirm, I'm assuming you found a customization that was resulting in this behaviour, and therefore this is now solved?

@ssddanbrown commented on GitHub (Oct 19, 2025): @ssddanbrown No worries. Just to confirm, I'm assuming you found a customization that was resulting in this behaviour, and therefore this is now solved?
Author
Owner

@rozdun commented on GitHub (Oct 19, 2025):

Yes, this is solved. There was a webhook that copied permissions onto books, and because I was not the one who set up our instance, I wasn't aware of it.

@rozdun commented on GitHub (Oct 19, 2025): Yes, this is solved. There was a webhook that copied permissions onto books, and because I was not the one who set up our instance, I wasn't aware of it.
Author
Owner

@ssddanbrown commented on GitHub (Oct 21, 2025):

Okay, thanks for confirming. Will therefore close this off.

@ssddanbrown commented on GitHub (Oct 21, 2025): Okay, thanks for confirming. Will therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5463