Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Jellyfin
  3. New User and default Library access

New User and default Library access

Scheduled Pinned Locked Moved Jellyfin
13 Posts 4 Posters 3.1k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #2

    This seems like an app specific setting, have you checked if jellyfin maybe supports configuring the default user profile settings?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      cylon
      wrote on last edited by
      #3

      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 ?

      1 Reply Last reply
      0
      • jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #4

        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/

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          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

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            OK, https://github.com/jellyfin/jellyfin-plugin-ldapauth/blob/a866c85e7c34cb5848c287586987fbe4761dd250/LDAP-Auth/Config/configPage.html#L268C80-L268C96

            @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
            1 Reply Last reply
            1
            • C Offline
              C Offline
              cylon
              wrote on last edited by cylon
              #7

              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

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cylon
                wrote on last edited by
                #8

                also, I tried creating a new user without restarting Jellyfin (when the EnableAllFolders config is still there) and it works, new user have access to all librairies
                The issue is now only that at restart this config got removed from the config file

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cylon
                  wrote on last edited by cylon
                  #9

                  additional question:

                  When I delete a user from Cloudron User management, the user is not delete from Jellyfin and still have access

                  ( but maybe I should open a new topic for this one?)

                  1 Reply Last reply
                  0
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote on last edited by
                    #10

                    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.

                    C 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      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.

                      C Offline
                      C Offline
                      cylon
                      wrote on last edited by
                      #11

                      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 ?

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • C cylon

                        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 ?

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #12

                        @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/

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #13

                          LDAP permissions is fixed in the latest package.

                          1 Reply Last reply
                          1
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search