File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,14 +62,16 @@ public OrganizationService(
6262 }
6363 }
6464
65- // Create organization
65+ // Create organization - organizations always start on team plan
66+ // (free tier doesn't support team features)
6667 var organization = new Organization
6768 {
6869 Name = request . Name ,
6970 Slug = slug ,
7071 Description = request . Description ,
7172 OwnerId = userId ,
72- Plan = "free" ,
73+ Plan = "team" ,
74+ TranslationCharsLimit = _config . Limits . TeamTranslationChars ,
7375 CreatedAt = DateTime . UtcNow ,
7476 UpdatedAt = DateTime . UtcNow
7577 } ;
Original file line number Diff line number Diff line change 1- @page " /app/ organizations/{OrganizationId:int}/api-keys"
1+ @page " /organizations/{OrganizationId:int}/api-keys"
22@using LrmCloud .Shared .DTOs .Organizations
33@using LrmCloud .Shared .DTOs .Translation
44@using LrmCloud .Web .Services
301301
302302 if (_organization != null )
303303 {
304- _canManageKeys = _organization .UserRole is " Owner " or " Admin " ;
304+ _canManageKeys = _organization .UserRole is " owner " or " admin " ;
305305
306306 _breadcrumbs = new List <BreadcrumbItem >
307307 {
Original file line number Diff line number Diff line change 1- @page " /app/ organizations/{OrganizationId:int}"
1+ @page " /organizations/{OrganizationId:int}"
22@attribute [Authorize]
33@using LrmCloud .Shared .Constants
44@using LrmCloud .Shared .DTOs .Organizations
Original file line number Diff line number Diff line change 1- @page " /app/ organizations"
1+ @page " /organizations"
22@attribute [Authorize]
33@using LrmCloud .Shared .Constants
44@using LrmCloud .Shared .DTOs .Organizations
Original file line number Diff line number Diff line change 1- @page " /app/ organizations/{OrganizationId:int}/members"
1+ @page " /organizations/{OrganizationId:int}/members"
22@attribute [Authorize]
33@using LrmCloud .Shared .Constants
44@using LrmCloud .Shared .DTOs .Organizations
Original file line number Diff line number Diff line change 1- @page " /app/ organizations/{OrganizationId:int}/settings"
1+ @page " /organizations/{OrganizationId:int}/settings"
22@attribute [Authorize]
33@using LrmCloud .Shared .Constants
44@using LrmCloud .Shared .DTOs .Organizations
Original file line number Diff line number Diff line change 1- @page " /app/ projects/{ProjectId:int}/settings"
1+ @page " /projects/{ProjectId:int}/settings"
22@attribute [Authorize]
33@using LrmCloud .Shared .DTOs .Projects
44@using LrmCloud .Shared .DTOs .Resources
117117 Disabled =" _isSubmitting || _loadingOrganizations"
118118 HelperText =" Assign this project to an organization or keep as personal" >
119119 <MudSelectItem Value =" @((int?)null)" >Personal Project </MudSelectItem >
120- @foreach ( var org in _organizations .Where (o => o .UserRole is " Owner " or " Admin " ))
120+ @foreach ( var org in _organizations .Where (o => o .UserRole is " owner " or " admin " ))
121121 {
122122 <MudSelectItem Value =" @((int?)org.Id)" >@org.Name </MudSelectItem >
123123 }
You can’t perform that action at this time.
0 commit comments