Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaving with a main while alts are applied does not remove the alt applications #44

Open
mome-borogove opened this issue Jul 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mome-borogove
Copy link
Contributor

Repro:

  1. Apply with main, accept
  2. Apply with alts
  3. Leave with main
  4. Check staff pending applications page, alts are still pending, no indication main left

Since it's disallowed to apply an alt without a main, the solution here is probably to auto-reject the alt applications with the leave/withdraw cooldown.

Note that this is a bit at odds with the behavior of what happens if you accept those alts first (since they don't get kicked currently), but that's mostly (again) due to the auth main/whc main issue since we have no notion of swapping whc mains, so if a character drops corp, the auth main is auto-updated and whctools is left with a weird state.

In fact, now I'm kind of curious what happens to the ACL view when an auth main is changed....

@lynkfox
Copy link
Contributor

lynkfox commented Jul 24, 2024 via email

@mome-borogove
Copy link
Contributor Author

Gotcha. I was concerned it was a map with mains as keys, but I see that is reconstructed dynamically every time, so it's not an issue.

Thanks.

@mome-borogove mome-borogove added next release A target for the next iteration bug Something isn't working labels Jul 25, 2024
@mome-borogove mome-borogove removed the next release A target for the next iteration label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants