Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Block a device from the Devices list, the Users list

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust

Hướng nghiên cứu

Trace the Devices list, Users list, user profile, verification modal, client connection handling, access decision, and Activity log entry points. Start by mapping how device access and verification status are represented across the admin and client surfaces. Done means every listed action and test scenario works, including immediate disconnection, blocked access, client feedback, re-verification, and activity logging.

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

Mô tả

User story

As an admin, I want to block a device, so that it immediately loses access.

Acceptance criteria
  • The "Block device" action is in the Devices row menu, the drawer Actions, the Verification modal, the user's devices in the Users list, and the Devices tab of the user profile.
  • The action is available regardless of attestation or verification status.
  • The action opens the "Block device" confirmation modal: "Are you sure you want to block this device? It will immediately lose access and remain blocked until it is verified again." The modal has Cancel and Block buttons.
  • After blocking, the device's active connections are dropped, Access shows "Blocked", and the device can't connect to any location, regardless of posture checks.
  • The client shows a "Blocked" badge and the "Device blocked" screen with a Got it button.
  • The admin can initiate verification for a blocked, attested device.
  • The Activity log records the block.
Test scenarios
  1. Block a connected device → it disconnects immediately and the Access column shows Blocked.
  2. The blocked device tries to connect to a location without posture checks → it's rejected.
  3. The client of the blocked device shows the Blocked badge and the Device blocked screen.
  4. Block a device from the Users list and from the user profile → the result is the same as from the Devices list.
Ngôn ngữ chính
Rust
Star
2.9k
Fork
121
Merge trung bình
21 giờ 31 phút
Pull request đã merge (30 ngày)
66

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 DefGuard/defguard

Tất cả issue của DefGuard/defguard

Issue tương tự

Thêm issue về Rust

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.