Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/reearth/reearth-cms into fi…
Browse files Browse the repository at this point in the history
…x-web/item-title
  • Loading branch information
Kazuma Tsuchiya committed Oct 17, 2024
2 parents b667682 + 6029152 commit 33119f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/internal/usecase/interactor/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package interactor
import (
"context"
"errors"

"github.com/reearth/reearth-cms/server/internal/usecase"
"github.com/reearth/reearth-cms/server/internal/usecase/gateway"
"github.com/reearth/reearth-cms/server/internal/usecase/interfaces"
Expand Down Expand Up @@ -62,7 +63,7 @@ func (i *Project) Create(ctx context.Context, p interfaces.CreateProjectParam, o
if len(p.RequestRoles) > 0 {
pb = pb.RequestRoles(p.RequestRoles)
} else {
pb = pb.RequestRoles([]workspace.Role{workspace.RoleOwner, workspace.RoleMaintainer, workspace.RoleWriter, workspace.RoleReader})
pb = pb.RequestRoles([]workspace.Role{})
}

proj, err := pb.Build()
Expand Down

0 comments on commit 33119f6

Please sign in to comment.