Ticket #744 (closed Defect: worksforme)
Updating list of assigned Workspaces
Reported by: | JuergeN | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.5 |
Component: | DeepaMehta Standard Distribution | Version: | 4.4 |
Keywords: | Cc: | ||
Complexity: | 3 | Area: | |
Module: |
Description (last modified by JuergeN) (diff)
As user A I have created a new confidential workspace. I have creeated a new Memebership Assoc with Username B. As User B I will not see the new workspace unless I re-login. List should update automaticaly.
Change History
comment:2 Changed 10 years ago by jri
User B must not necessarily re-login. A reload is sufficient to see the new workspace. (The reload problem you described in #743 is fixed meanwhile.)
But I understand your point: you want the new workspace to appear automatically in B's workspace menu. At the latest when B clicks on it to open it.
For dealing with that issue I see 3 approaches:
- A relatively simple approach would be to refetch the list of workspaces each time the menu is opened. Obviously this would create much more web requests than necessary and creates some latency.
- The "maximum" solution would require much more work. 1) The workspace join event could actively pushed to the respective client by the means of WebSockets?. 2) A notification mechanism would be fine that tells the user "xy has invited you to workspace yz". 3) A store-and-forward facility could deliver the notification once user B is online ... a whole lot of complexity.
- We leave it as is, at least for the upcoming 4.5. We would promote the work practice of relying on out-of-band communication to let the users coordinate. As soon as user B is informed by user A, user B just reloads and is fine.
What do you think?
Just a side hint: logging in as 2 different users at the same time requires opening 2 separate browsers. You can't work with just 2 windows within the same browser.