Skip to content

Tenant ID length constraints hardcoded - reduces business flexibility #16

Description

@BukeLy

问题描述

Tenant ID 长度限制硬编码,降低业务灵活性。

受影响的文件

  • src/tenant_deps.py 行 36-37

硬编码值

  • 最小 3 字符
  • 最大 50 字符

问题

某些业务场景可能需要不同的限制。

解决方案

应该配置以下环境变量:

  • TENANT_ID_MIN_LENGTH
  • TENANT_ID_MAX_LENGTH

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions