-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] "External Path" incorrectly cached #5807
Comments
Also, it's confusing that EXTERNAL PATH entry present in both screens:
When I wanted to change EXTERNAL PATH, I found it in the USER -> ACCOUNT SETTING and was really struggling to figure out why I can't edit it? Why it's read only? It took me half an hour to figure out, that it's also available at the other location: ADMINISTRATION -> USERS. Can it somehow be consolidated, so it's only present in one place? |
I actually don't know if we even need to show it on any screen except the admin one tbh. |
I came in to say something similar, so I'll just add it here:
So there is a reason for it, but it is just plain confusing. I spent 45 minutes trying to figure out my external libraries TWICE now. Because it just doesn't make sense to set it up in two disparate places. Suggestions:
Of course it would be nice to pop up with a select box of available directories so that the user can select the directory without the possibility of mis-typing. Or perhaps just give a list of available directories within the User's Home Folder so that they at least have SOME clue about what would be a correct thing to type. But there might be security ramifications to these things, and the whole concept of an External Library is a more or less technical thing that users/admins must set up on the back end. So I think it is OK that it is not 100% "user friendly for complete dummies". The whole point of the External Library is that you must have access to the machine, and directories within it, to put the library files there. So it's always going to take some admin type setup, and it's OK that it is not totally idiot proof, so to speak. But I think users do need feedback that at least they have set up something that is going to work.
First, we realize that giving users access to a directory within the system - in the way we must do to make the External Library concept work - is DEFINITELY a security risk. So . . . this rather powerful permission should not be granted to every user by default. Rather, it should be turned OFF for all users by default. And when it is turned off in the admin panel (where there is an on/off toggle), the External Library option does not even appear in the User's settings. Maybe there is, instead, a note that if they would like to use an External Library they should contact the Admin, who can grant them the required permission under Admin/User Setting/Allow External Libraries. This completely avoids the confusing situation we have now, where the user goes in & sets up a perfectly valid External Library Folder but it doesn't work because another obscure admin setting somewhere is not properly set up. Then when the Admin goes into Admin/User Settings to click the toggle to Allow External Libraries for that user, that is when the Home Directory for that user pre-populates with "/usr/src/app/external" and prompts the admin to further restrict the home directory of the user, from that starting point, if so desired. (Note that "/usr/src/app/external" is a directory that is set up by the admin when the docker volume is set up. So it can be changed and vary in each install. So the default entry here should not be "/usr/src/app/external" but rather, whatever directory is set up as the root of the external directories within this particular installation. Hopefully that won't be too difficult to customize?) And once that is done, the option for External Libraries appears on the User's settings page, allowing the user to set the External Library up. The prompt for them to do so includes the path the Admin has set up with the place for subdirectories they can add to that base clearly indicated - so something like Choose External Library folder: /usr/src/app/external/Jones_Family/Fred/[ . . . . . . . . ] The text entry field, which the user fills in, is only the part within the brackets. That way the user can see the Base Directory the Admin has set up for them, and they can also see exactly which part of the directory path they need to fill in to get the directory they wish. My $.02! Thanks for a great piece of software! |
External path has been removed in favor of admin management |
The bug
When user updates the "External Path", it shows incorrect (old) value in the ACCOUNT SETTINGS
The OS that Immich Server is running on
Docker on Synology
Version of Immich Server
1.91.3
Version of Immich Mobile App
n/a
Platform with the issue
Your docker-compose.yml content
n/a
Your .env content
Reproduction steps
The text was updated successfully, but these errors were encountered: