这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@allardy
Copy link
Member

@allardy allardy commented Sep 7, 2022

Bot ID are unique server-wide. If a user has access to workspace A and also to workspace B, he could create/import a bot in the other workspace with the same id. This would overwrite the original bot, but would also display its ID in both workspace.

Only the latest copy existed however, so anyone deleting the bot from either workspace would delete it from both.

@slvnperron
Copy link
Member

LGTM! I would call it assert instead of check, as it throws when the condition is not met and doesn't return a bool

EFF
EFF previously approved these changes Sep 7, 2022
@allardy allardy merged commit 63bfa0d into master Sep 14, 2022
@slvnperron slvnperron deleted the ya-fix-bot-workspace branch June 22, 2023 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants