diff --git a/server/internal/usecase/interactor/project.go b/server/internal/usecase/interactor/project.go index 82428de199..348da4902b 100644 --- a/server/internal/usecase/interactor/project.go +++ b/server/internal/usecase/interactor/project.go @@ -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" @@ -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()