New User and default Library access
-
When you create a user in Jellyfin, you have to manually select what library he can access.
So when you create a new user in Cloudron, this new user when login into Jellyfin will have access to none of the library. The admin has to login and manually give access to the libraries.
IMO, it would make more sense to give access to all librairies by default when you create a user via Cloudron. Otherwise it is simpler to create the user directly in Jellyfin.
Or is there already an option when you create the user Cloudron so that he can access all librairies ?
-
Not sure it's a setting, I didn't find anything in the doc at least. It's more something you have to do in the user creation process: enter user name, then select library he can access.
Not sure if it is something Cloudron can do. How does Couldron create user ? Is it using an API from Jellyfin ? -
It sounds to me like this ought to be configurable and that the standard Jellyin default is indeed that all users ought to have access to all libraries, see https://jellyfin.org/docs/general/server/users/adding-managing-users/
-
We use Jellyfin LDAP plugin - https://github.com/jellyfin/jellyfin-plugin-ldapauth
Not a csharp dev, but it seems the default value in the plugin is false which doesn't match the upstream defaults - https://github.com/jellyfin/jellyfin-plugin-ldapauth/blob/a866c85e7c34cb5848c287586987fbe4761dd250/LDAP-Auth/Config/PluginConfiguration.cs#L40
-
@cylon Can you try this:
- Edit
/app/data/jellyfin/data/plugins/configurations/LDAP-Auth.xml
using File manager - Add
<EnableAllFolders>true</EnableAllFolders>
- Restart the app
- Edit
-
I tried adding the line
<EnableAllFolders>true</EnableAllFolders>
but when I restart the app the config is restored to the original version without the line.I saved the file, I can see the line is there when I close / open the file, but after restarting the app the
LDAP-Auth.xml
is somehow restored -
-
Indeed https://git.cloudron.io/cloudron/jellyfin-app/-/blob/master/start.sh?ref_type=heads#L24 does overwrite that file on every restart. We have to make the package smarter to only selectively update fields. I have created a task for this, but may take some time to get to this with holidays coming up.
The user syncing for deleted users is very app dependent and the general rule is that log into the app will fail (since user is gone so credentials can't be checked) but usually apps do not purge such users and the data. Those things would have to get fixed upstream, so feel free to create an issue for this at the upstream project.
-
Thx for your answer.
@nebulon said in New User and default Library access:
Those things would have to get fixed upstream, so feel free to create an issue for this at the upstream project
what is the upstream project ? How do I create an issue for that ?
-
@cylon said in New User and default Library access:
what is the upstream project ? How do I create an issue for that ?
Jellyfin
https://github.com/jellyfin/jellyfin/issues
https://features.jellyfin.org/