Skip to content

Feature Request: Per-User Find/Replace for Generated Content #163

@theklausklausen

Description

@theklausklausen

Feature Request: Per-User Find/Replace for Generated Content

Description

I have a service that is reachable under different domains depending on the user’s network. For example:

  • immich.internal.example.com for users inside my home network
  • immich.external.example.com for users outside (e.g., my parents)

In some cases, generated content (such as emails or other system-generated messages) contains values that should differ depending on the recipient. In my example, certain strings would need to be replaced so that internal users see the internal domain, while external users see the external one.

From my understanding, the current import_code configuration is not suitable for that.

Feature Request

It would be great to support a general-purpose find/replace mechanism that can be applied conditionally (e.g., per user or per user group). The idea would be:

  • Define one or more find/replace rules
  • Scope them to specific users, groups, or contexts
  • Automatically apply them to generated content

While my concrete example involves different domains, the underlying need is a flexible, per-user find/replace construct that is not limited to a single hardcoded use case.

I realize this may be a relatively niche requirement, but it would significantly increase flexibility for installations that serve users in different environments.

Thanks for considering this feature!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions