Files
digital-psychology/docs/WAVE0/slice-specs/ecr-034.json
T
jackyu66gitandCursor b91806ba80 feat(ECR-026): OpsCMS ScheduledPublication 只读并 Closed
定时发布目录(ops_scheduled_publications),并加固 catalog 生成器。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 03:13:36 +08:00

75 lines
1.9 KiB
JSON

{
"ecr": "034",
"slug": "privacy-request",
"concept": "PrivacyRequest",
"list_method": "PrivacyRequests",
"get_method": "PrivacyRequest",
"table": "privacy_requests",
"migration": "000035",
"route_group": "/privacy",
"route_resource": "requests",
"perm_const": "PermPrivacyRead",
"perm_code": "admin.privacy.read",
"new_perm": true,
"seed_code": "demo_export_req",
"register_fn": "registerPrivacyRequests",
"test_name": "TestAdminPrivacyRequests",
"row_type": "PrivacyRequestRow",
"err_name": "ErrPrivacyRequestNotFound",
"capability": "AdminGovernance",
"bc": "Admin_Auth_Audit",
"predecessor": "ECR-033",
"title": "AdminGovernance · PrivacyRequest(只读薄切片)",
"non_goals": "隐私请求履约写 · soft-delete · UGC · 真支付",
"columns": [
{
"name": "code",
"sql": "varchar(64) NOT NULL UNIQUE",
"go_name": "Code",
"go_type": "string",
"json": "code",
"seed": "demo_export_req"
},
{
"name": "title",
"sql": "varchar(128) NOT NULL",
"go_name": "Title",
"go_type": "string",
"json": "title",
"seed": "示例数据导出请求"
},
{
"name": "kind",
"sql": "varchar(32) NOT NULL CHECK (kind IN ('export','erase'))",
"go_name": "Kind",
"go_type": "string",
"json": "kind",
"seed": "export"
},
{
"name": "status",
"sql": "varchar(32) NOT NULL CHECK (status IN ('open','closed'))",
"go_name": "Status",
"go_type": "string",
"json": "status",
"seed": "closed"
},
{
"name": "active",
"sql": "boolean NOT NULL DEFAULT true",
"go_name": "Active",
"go_type": "bool",
"json": "active",
"seed": true
},
{
"name": "system",
"sql": "boolean NOT NULL DEFAULT false",
"go_name": "System",
"go_type": "bool",
"json": "system",
"seed": true
}
]
}