eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager

Home Page:https://eveseat.github.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the role of the old corporation is retained for a time after the change of corporation

vlvavan opened this issue · comments

caught an interesting bug
if the character had the role of Director in the corporation from which he left and immediately entered another, then the seat may consider that he is a Director in the new corporation. Apparently, the Roles and Corporations are not updated at the same time, which leads to the fact that he can get into the squad and get access to the seat, team speech and discord as a director.

for this, this member must be previously registered in a seat with another corporation

this seems to be a problem with the ESI, since this is repeated in other services

I guess we could remove roles when a corporation change is detected and block roles from being stored until the ESI cache expires. If ESI character affiliations and roles are on different caches which don't get invalidated at the same time, it might be worth to report it to CCP and other devs, since it is likely that it will happen to others too.

On another note, it it possible to hide this issue? I guess it is somewhat of a serious security issue

it took about 18 hours for the roles to update