feat: reduce Community Edition user limit from 50 to 10

Reduces the hardcoded max users for Community Edition from 50 to 10.

Changes:
- Backend: MAX_USERS_COMMUNITY constant (enforcement)
- Frontend: Display messages on users and tenants pages
- README: Documentation update

Ref: GT-Edge-AI-Internal/GT-2.0#289

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
HackWeasel
2025-12-15 12:19:48 -05:00
parent 91cbfc5213
commit 1dbc93f53b
5 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ router = APIRouter(prefix="/users", tags=["users"])
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
# GT AI OS Community Edition - Hardcoded user limit
MAX_USERS_COMMUNITY = 50
MAX_USERS_COMMUNITY = 10
def get_default_capabilities(user_type: str) -> List[Dict[str, Any]]: