Eg: we have a folder and a file. When a user logs in, we update all roles of a user in folder / file. Next is we list all permissions of a user in both folder / file in the next API call from front-end. Since file permissions are inherited and in our case we store tokens corresponding to the object along with other metadata, if either file / folder role changes, sometimes get stale data.
So we want to determine which zed-token to use for the check-permission endpoint. If not we'll use fully consistent request. Just wanted to know if it's possible to determine the latest token from both / a list of tokens.