Inconsistent workspace access display after user removal

Aperta
#741 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Riproduci la sequenza di rimozione e aggiornamento nel plugin QGIS, quindi traccia il modo in cui gli aggiornamenti dell'area di lavoro aggiornano l'avviso e la visualizzazione dell'appartenenza nel pannello del browser. Il lavoro è completato quando entrambe le viste riflettono in modo coerente le autorizzazioni correnti dell'utente per l'area di lavoro e non mostrano più l'area di lavoro rimossa.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Description
When a user is removed from a workspace but is still logged in to the QGIS plugin, there's an inconsistency in how workspace membership is displayed. The plugin shows a warning that the user doesn't have any workspace available, but in the browser panel, the user still appears as a member of that workspace. This creates a confusing user experience as the information presented is contradictory.

Environment
Staging

Application (+ app version, build, operating system)

  • QGIS version: 3.40.5-Bratislava
  • Plugin version: 2025.1.1
  • OS: macOS, Sequoia 15.5

Steps to reproduce

  1. Log in to the MerginMaps QGIS plugin with a user account that has access to a workspace
  2. Have an administrator remove the user from the workspace (kick the user off)
  3. While still logged in to the QGIS plugin, refresh the workspace
  4. Observe the warnings and browser panel

Actual results

  • The plugin shows a warning that the user doesn't have any workspace available
  • In the browser panel, the user still appears as a member of the workspace they were removed from

Expected results

  • The browser panel should reflect the current workspace permissions and not show workspaces the user no longer has access to
  • The information displayed in warnings and the browser panel should be consistent

Screenshots or logs

Image

Conclusion
Created by GitHub Copilot and supervised by a human test analyst.

Lingua principale
Python
Stelle
45
Fork
21
Merge medio
3g 13h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MerginMaps/qgis-plugin

Tutte le issue di MerginMaps/qgis-plugin

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.