Inconsistent workspace access display after user removal

Đang mở
#741 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
authorization, desktop

Hướng nghiên cứu

Tái hiện chuỗi thao tác xóa và làm mới trong plugin QGIS, sau đó truy vết cách các lần làm mới workspace cập nhật cảnh báo và phần hiển thị tư cách thành viên trong bảng điều khiển trình duyệt. Hoàn tất khi cả hai chế độ xem đều nhất quán phản ánh các quyền hiện tại của người dùng đối với workspace và không còn hiển thị workspace đã bị xóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
45
Fork
21
Merge trung bình
3 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MerginMaps/qgis-plugin

Tất cả issue của MerginMaps/qgis-plugin

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.