Skip to content

Update organization creation #522

@joshsmith

Description

@joshsmith

Problem

An organization can be created by a user only if there is an OrganizationInvite that has not been fulfilled yet. That user must be set as the owner of the Organization via an OrganizationMembership.

We should also consider adding something like a created_by_user_id to both Organization and Project to track who originally created it.

Subtasks

  • Write migration
  • Write model tests
  • Update the changesets
  • Update controller tests
  • Update the controller logic

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions