Fix edge case if joining linked channel with pre-existing overwrites that old channel overwrites are not revoked #270
Labels
No labels
bug
config update
documentation
duplicate
enhancement
in dev
input needed
new feature
not in draft
refactor
waiting on docs update
wont-do
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Sirdog/EnduraBot#270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current logic of
listeners/channel_link.pyhas the bot stop any evaluation if the user joins a channel where they have pre-existing overwrites. When speaking with Claude Opus 4.6, an edge case was presented:"... Consider: a user moves from one linked VC to another, and they have a role granting read access in the new channel. The old channel's overwrite never gets cleaned up because you returned before reaching line 52. Is that a scenario that could occur?"
Desired functionality is to re-write logic so that this edge case is not possible.
Addressed by #276. No documentation updates necessary. Closing.