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:
@@ -155,7 +155,7 @@ export default function TenantsPage() {
|
||||
Manage your tenant configuration
|
||||
</p>
|
||||
<p className="text-sm text-amber-600 mt-1">
|
||||
GT AI OS Community Edition: Limited to 50 users per tenant
|
||||
GT AI OS Community Edition: Limited to 10 users per tenant
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -210,7 +210,7 @@ export default function TenantsPage() {
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-4">
|
||||
<div>
|
||||
<p className="text-sm font-medium text-muted-foreground">Users</p>
|
||||
<p className="text-2xl font-bold">{tenant.user_count} <span className="text-sm font-normal text-muted-foreground">/ 50</span></p>
|
||||
<p className="text-2xl font-bold">{tenant.user_count} <span className="text-sm font-normal text-muted-foreground">/ 10</span></p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm font-medium text-muted-foreground">Domain</p>
|
||||
|
||||
@@ -329,7 +329,7 @@ export default function UsersPage() {
|
||||
Manage users and access permissions
|
||||
</p>
|
||||
<p className="text-sm text-amber-600 mt-1">
|
||||
GT AI OS Community Edition: Limited to 50 users
|
||||
GT AI OS Community Edition: Limited to 10 users
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex space-x-2">
|
||||
|
||||
@@ -143,7 +143,7 @@ export default function TenantsPage() {
|
||||
domain: 'betatest',
|
||||
template: 'development',
|
||||
status: 'suspended',
|
||||
max_users: 50,
|
||||
max_users: 10,
|
||||
current_users: 12,
|
||||
namespace: 'gt-tenant-betatest',
|
||||
resource_count: 5,
|
||||
|
||||
Reference in New Issue
Block a user