Skip to content

Audit & Quyền riêng tư ​

Trang sinh tự động

Phần nghiệp vụ viết tay; API, dữ liệu, quyền, đường dẫn và file nguồn do bộ sinh điền từ source tại ad83b0aea.

Làm gì ​

Mọi mutation từ Web Admin để lại một dòng audit chỉ-ghi-thêm với dữ liệu cá nhân đã che. Quyền riêng tư gồm yêu cầu xuất và xoá dữ liệu, legal hold và chính sách lưu trữ.

Quy mô ​

Domain APIaudit, privacy
Query / Mutation6 / 8
Nguồn dữ liệu—
Bảng0
Luật phân quyền1
Đường dẫn Web Admin0

Thao tác (mutation) ​

MutationDomainMô tả
grantConsentprivacy
privacyExportDownloadprivacySigned link to the caller's own, unexpired export package (audited).
releaseLegalHoldprivacy
requestPrivacyDeletionprivacy
requestPrivacyExportprivacy
reviewPrivacyRequestprivacy
setLegalHoldprivacy
withdrawConsentprivacy

Phép đọc (query) ​

QueryDomainMô tả
auditActionOptionsauditThe actions of the audit registry and of the stored log, for the action filter. Requires audit.read.
auditEventauditOne audit event; not_found when there is none. Requires audit.read.
auditEventFullChangeauditFull before / after of an audit event flagged metadata.hasDetail. Null when the event has none (or is unknown). Requires audit.read.
auditEventsauditThe audit log, newest first, pages of at most 100 rows. Requires audit.read (DEC-CV3-33).
myConsentsprivacyThe caller's consents (published purposes and own history).
privacyRequestsprivacyOwn requests (subject) or the review queue (privacy reviewer, GAP-59).

Quyền ​

MãQuyềnỨng dụngVai tròPhạm viTrạng thái
Z-01audit.readWEB_ADMINsuper_adminALLPROPOSED

Danh sách đầy đủ và cách đọc các cờ: Ma trận quyền.

File nguồn ​

Backend:

  • code/apps/api/supabase/functions/graphql/domains/audit/
  • code/apps/api/supabase/functions/graphql/domains/privacy/

Tài nguyên quyền không có luật nào

Bản đồ module khai các tài nguyên privacy nhưng ma trận quyền không có luật nào cho chúng. Hoặc tên tài nguyên trong bản đồ sai, hoặc quyền chưa được định nghĩa.

Sinh từ ad83b0aea · 820 migration · PostgreSQL 17