Closed Ch1nkara closed 8 months ago
Thank you for the change. This will be merged when 10.9 is released.
That controller is used for configuring the opensubtitles credentials in the plugin settings page, from what I understood the linked PR allows users to search and download the subtitles, but the configuration of the plugin itself is still restricted to the administrator?
Or did I get it wrong?
Indeed, from the UI a user can't access the plugin configuration page, even with the "subtitles management" rights. Currently, using Policy = Policies.RequiresElevation
instead of Policy = "SubtitleManagement"
could also work.
My opinion is that it's clearer to use the SubtitleManagement. Moreover, since we allow the user to use the opensubtitle plugin, it makes sense to let him also edit the credentials (not possible yet via jellyfin-web but might be implemented in the futur ?)
fix policy name to match what's been accepted in the following PR: https://github.com/jellyfin/jellyfin/pull/10410