Renaming a library does not match user library access
Description of the bug
Renaming a library loses user access to it. That is, if you have users with access to a library and you rename that library JF will not automatically give existing users access to the new name. It will show the old library name as still being part of a user's permitted list, with a new checkbox for the newly renamed library.
Reproduction steps
Create a library. Give a user access to that library. Rename the library.
Now look at the user's library access list. It'll still have the old library name show up in the list, with a check. There will also be a 'new' library in the list with the new name (and it will not be checked).
What is the current bug behavior?
Given how many thing are abstracted away from text strings I would have assumed a rename would not affect user access. This does not appear to be the case.
What is the expected correct behavior?
It would be expected that any users with access to a library would automatically have their access to the newly re-named library.
Jellyfin Server version
12.1
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
12.1
Environment
- OS:
- Linux Kernel:
- Virtualization:
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- CPU Model:
- GPU Model:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Jellyfin Data Storage & Filesystem:
- Media Storage & Filesystem:
- External Integrations:Jellyfin logs
I could not determine any relevant log entries regarding this.FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
Source: jellyfin/jellyfin