ynput / ayon-backend

Server codebase with API access to AYON
Apache License 2.0
22 stars 15 forks source link

Authentication: Assigned projects are not propagated to existing sessions #223

Closed martastain closed 2 weeks ago

martastain commented 4 months ago

Story

When a user is logged in and they are assigned to a new project, this information does not propagate to existing session and the user has to log in again to see the project

martastain commented 4 months ago

Waiting for steps to reproduce. The server seems to work as expected. @m-u-r-p-h-y , @iLLiCiTiT

Innders commented 3 months ago

Is this a FE cache issue? Is the issue fixed when refreshing the page?

martastain commented 3 months ago

Is this a FE cache issue? Is the issue fixed when refreshing the page?

Actually the problem in this case seems to be in the launcher - new assignments propagate correctly in the frontend and when you assign a user to a project, the project shows in the project list on the web, but not in the launcher.

iLLiCiTiT commented 3 months ago

It happened on a client side. We asked them to contact us when the issue happens again.

My ideas are that something interrupted the logic which updates sessions. Either server was restarted, or one of the sessions were closed at the time it was updating, so one crashed session updated caused fail of others.

iLLiCiTiT commented 2 weeks ago

@m-u-r-p-h-y I guess we didn't get this error reported since then? Can we consider this as resolved?

m-u-r-p-h-y commented 2 weeks ago

@m-u-r-p-h-y I guess we didn't get this error reported since then? Can we consider this as resolved? It was not reported from anyone for quite a while. I agree to close the issue and reopen if needed.