Hello SeaTable Team & Community,
I would like guidance on implementing secure API-based export when using custom views with different permissions per user.
Scenario
In one SeaTable base/table, we have:
-
Base:
Sample_Base -
Table:
Sample_Table -
Views:
View_001,View_002,View_003
We use custom sharing / view-level permissions so that users have access only to certain views:
User Access Requirement
-
User_001-
Read/Write:
View_001 -
No access:
View_002,View_003
-
-
User_002-
Read/Write:
View_002,View_003 -
Read-only:
View_001
-
API Export Requirement
We want to auto export data using SeaTable API, but the export must follow the same permissions:
-
User_001should be able to export onlyView_001 -
User_002should be able to export onlyView_002andView_003(and possibly only read-level export ofView_001)
Questions
-
When using SeaTable API, is it possible to export colums specifically from a view (e.g., export only
View_001and not full table)? -
What is the recommended secure approach to ensure API export respects view-level permissions?
-
Should we generate API tokens per user?
-
Should we use separate tables or separate bases instead of views?
-
Is there any built-in feature (Enterprise or advanced permissions) that supports this?
-
Goal
We want to avoid a security gap where:
-
Full table data pulled by user who not owner of said table’s other columns.
-
Other table data pulled by user who has no permission for said table in SeaTable
Any official recommendation, limitation confirmation, or best-practice architecture would be appreciated.
Thank you,
Rupesh Bangar