feat: ds table preview column permission

This commit is contained in:
junjun
2025-07-23 17:55:04 +08:00
parent 2dbc9b4590
commit 78b7fbd268
2 changed files with 20 additions and 4 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ async def edit_field(session: SessionDep, field: CoreField):
@router.post("/previewData/{id}")
async def edit_local(session: SessionDep, id: int, data: TableObj):
return preview(session, id, data)
async def edit_local(session: SessionDep, current_user: CurrentUser, id: int, data: TableObj):
return preview(session, current_user, id, data)
@router.post("/fieldEnum/{id}")