Skip to content

Multi-tenant structure #4

@cyri113

Description

@cyri113

We have a platform object in our mongodb database. This is confirmed by the community manager in TogetherCrew.

{
  _id: ObjectId(''),
  name: "telegram",
  metadata: {
    id: "1234567789", // telegram channel id
    name: "Some channel name", // telegram channel name
    // other data required?
  }
}

In neo4j we will store the extracted data. Each data object should store the telegram channel id so that it can be indexed and queried.

Questions

  • What is the user flow for adding a bot?

The telegram channel administrator will need to add the our bot to the channel. Then they add the channel id on the TogetherCrew app. Note: this is a potential security vulnerability. Once our bot is added to the group, we need to verify that the user adding the group is an admin of the group.

  • How can we assure that right community is getting the right data?

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions