fix(pl): drop accidental cert-perm guard from dibang upsert commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-05 18:40:48 +08:00
1 parent 68564c61f0
commit 2a9cc6084b
1 file changed
-2
-2
View File
@@ -1915,8 +1915,6 @@ def patch_plan_hazard_cert_ready(
user: DbUserContext = Depends(get_db_current_user),
) -> PlanWithProducts:
"""标记或取消危化品证书齐备(人工确认)"""
if not user_can_manage_plan_cert_ready(db, user):
raise HTTPException(status_code=403, detail="无证书齐备操作权限")
tenant_no = get_tenant_no(db, user.to_tenant_user_dict())
_get_plan(db, tenant_no, id, user)
set_hazard_cert_ready(