Organization Structure

The organizational structure ofLogfireis shown below:

classDiagram
  Organization <-- OrganizationMember
  User <-- OrganizationMember
  User <-- ProjectMember
  Organization <-- Project
  Project <-- ProjectMember

  class Organization {
    UUID id
    string name
  }

  class User {
    UUID id
    string name
  }

  class OrganizationMember {
    UUID user_id
    UUID organization_id
    string role ['admin', 'member', 'guest']
  }

  class Project {
    UUID id
    UUID organization_id
    string name
  }

  class ProjectMember {
    UUID user_id
    UUID project_id
    string role ['admin', 'member']
  }

asuserYou can be many.organizationmembers of each.tissuesYou can be:

  • Administrator: A person who can manage an organization and its projects.

  • member: Only organizations and items shared with them can be viewed.

  • visitors: can only view items shared with them.

AdministratorYou can invite other users to join the organization. When users accept the invitation, they become the organizationmembers of。

eachorganizationcan have multipleproject. In eachprojectYou can be:

  • Administrator: A person who can manage a project.

  • member: only view items.

If users are invited to join the project, they will become members ofin the project, but they arevisitors in the organization.


本文总阅读量次