Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controlplane/pkg/biz/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/controlplane/pkg/biz/organization_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading