botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
83 stars 91 forks source link

[FEATURE] Manage bot_id conflict across workspaces when White-labeled #1354

Closed poojapatil12 closed 3 years ago

poojapatil12 commented 3 years ago

Is your feature request related to a problem? Please describe.

  1. Considering a user has multiple workspaces
  2. In workspace 1 a Bot is created with BotID – “test”
  3. In workspace 2 another Bot is created with BotID – “test”
  4. It errors out – Conflict: Bot "test" already exists and is already linked in workspace.
  5. This is confusing to the user of workspace 2 as the user has no idea (or visibility) that a bot with BotID "test" already exists on the instance (in another workspace).

Describe the solution you'd like This could be resolved if the BotIDs are unique autogenerated IDs. (Currently the BotIds are autogenerated, but are based off of the Bot Name the user chooses)

Describe alternatives you've considered N/A

Additional context This is mainly helpful when White-labeled

Erik-J-D commented 3 years ago

closed by: https://github.com/botpress/botpress/pull/5326