Policies Configuration
Policies live in configs/policies.json and define role-based access rules for
datasources and tables.
File structure
{
"version": 1,
"roles": {
"admin": {
"description": "System Administrator",
"role": "admin",
"allowed_datasources": ["*"],
"allowed_tables": ["*"]
}
}
}
Fields
version: schema version (currently1)roles: map of role name → policydescription: human-readable role descriptionrole: role ID used for logging and auditingallowed_datasources: list of datasource IDs or*allowed_tables: list of tables indatasource.tableformat
Table wildcards
*allows all tablesdatasource.*allows all tables in a datasource