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

A saved REDCap token can't be removed

Đang mở
#974 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
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
full-stack

Hướng nghiên cứu

Read the study page’s REDCap token field and the redcapToken handling referenced by the issue, along with related issues #832 and #968 for context. Trace how the admin portal saves study settings and how hasRedcapToken is determined. Done means an admin can remove a saved token, the request sends null, and the study no longer reports a saved token.

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

Mô tả

admin-client backend bug

Since #832, the study page's REDCap token field starts empty and is only sent when it has a value, with the hint "A token has been saved. Enter a new value to overwrite it." So once a study has a token, the admin portal has no way to remove it, for example when a study stops using REDCap or the token is revoked. Before #832 the field held the saved token, and emptying it cleared it.

Fix: add a "Remove token" action that sends null, and let redcapToken accept it, so hasRedcapToken goes back to false.

Related: #832, #968.

Ngôn ngữ chính
TypeScript
Star
4
Fork
0
Merge trung bình
14 giờ 50 phút
Pull request đã merge (30 ngày)
5

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 Garvan-Data-Science-Platform/ctrl

Tất cả issue của Garvan-Data-Science-Platform/ctrl

Issue tương tự

Thêm issue về TypeScript

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.