4
[Feature]: Expose username {{user}} for templates
Source: immich-app/immich#1619 · opened by @llitz
Feature detail
It would be good to make {{user}} available in the template configuration to enable the separation of photos better when having multiple users.
This would allow some configurations like:
{{user}}/{{y}}/{{MM}}/{{filename}}
While I have not looked at the code, implementing this should be easier than trying more complex solutions.
The more complex solution could have a configurable parameter attached to the user profile (defined by the admin, possibly pulled in from an SSO parameter). If this is empty, it could fall back to the username.
Platform
Web
It would be good to make {{user}} available in the template configuration to enable the separation of photos better when having multiple users.
This would allow some configurations like:
{{user}}/{{y}}/{{MM}}/{{filename}}
While I have not looked at the code, implementing this should be easier than trying more complex solutions.
The more complex solution could have a configurable parameter attached to the user profile (defined by the admin, possibly pulled in from an SSO parameter). If this is empty, it could fall back to the username.
Platform
Web
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature] Allow defining upload server endpoint
1 vote · 0 comments
[Feature] Add Support for Date Range Variables in Storage Templates
2 votes · 0 comments
[Feature] Counter Variable for Storage Templates
1 vote · 0 comments
[Feature] Add API key permission templates
1 vote · 0 comments
[Feature] allow Oauth-only internet facing login screen, while still allowing user&pw on internal url
8 votes · 0 comments
No comments yet.