diff --git a/app/controlplane/pkg/biz/organization.go b/app/controlplane/pkg/biz/organization.go index 20e23a63d..7e91bd0c6 100644 --- a/app/controlplane/pkg/biz/organization.go +++ b/app/controlplane/pkg/biz/organization.go @@ -110,7 +110,7 @@ func NewOrganizationUseCase(repo OrganizationRepo, repoUC *CASBackendUseCase, au const RandomNameMaxTries = 10 -var reservedOrgNames = []string{"chainloop", "admin", "default"} +var reservedOrgNames = []string{"admin", "default"} type createOptions struct { createInlineBackend bool diff --git a/app/controlplane/pkg/biz/organization_integration_test.go b/app/controlplane/pkg/biz/organization_integration_test.go index 0cc0dc370..71dca5a48 100644 --- a/app/controlplane/pkg/biz/organization_integration_test.go +++ b/app/controlplane/pkg/biz/organization_integration_test.go @@ -67,9 +67,9 @@ func (s *OrgIntegrationTestSuite) TestCreate() { // over the max size {"aabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk", true}, // reserved names - {"chainloop", true}, {"admin", true}, {"default", true}, + {"chainloop", false}, } for _, tc := range testCases {