jellyfin-web
jellyfin-web copied to clipboard
No admin user can be allowed to "edit subtitles"
Add new feature: ability for a user to "Edit subtitles" without administrator rights
Changes Edit itemContextMenu.js to allow "edit subtitle" if user have PermissionKind EnableSubtitleManagement Edit profile.tsx to have a checkbox to allow/forbid PermissionKind EnableSubtitleManagement
Related PR:
- Backend: jellyfin
~~TODO~~
- ~~Fix https://github.com/jellyfin/jellyfin-plugin-opensubtitles/issues/131#issuecomment-1677299539 in opensubtitle plugin~~ Done:
- https://github.com/jellyfin/jellyfin-plugin-opensubtitles/pull/138
- https://github.com/jellyfin/jellyfin/pull/10499
Issues https://features.jellyfin.org/posts/185/non-admin-users-download-subtitles
The PR was accepted and merged on the backend (ref: https://github.com/jellyfin/jellyfin/pull/10410). Is there something else missing for this one ?
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.
@Ch1nkara could you have another look at the requested changes and merge conflicts? This would be a really useful feature :)
Changes made. @thornbill Does this meet the requirements ?
You'll need to fix the merge conflicts by rebasing or merging the master branch.
@Ch1nkara Could you take another look at this? Would be very appreciated ❤️
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Cloudflare Pages deployment
Latest commit | 5c60f99 |
---|---|
Status | ✅ Deployed! |
Preview URL | https://4d8caae4.jellyfin-web.pages.dev |
Type | 🔀 Preview |
I've tested this a bit, and as far as I can see, this permission only allows adding new subtitles, not deleting existing ones. This can be really confusing, since you might add a subtitle (maybe download it direclty with the OpenSubtitle Plugin), check if it is fitting for the content, and if it is not, you can't delete it again and have to contact the system admin to delete the wrong version again. Also, manually adding subtitle file does not work (but doesn't for admin either). Only adding subtitles with OpenSubtitlesPlugin works.
Tested version: 10.9, build 2024040805
https://github.com/jellyfin/jellyfin/issues/11318