Codiatech Blog

Table-Level Access Control in Cloudflare Basin Catalog

Scope analytics and ingestion access to Iceberg tables in Basin Catalog. Verify object-level catalog permissions separately from R2 bucket access.

Catalog tree illustrating different table scopes for analytics and ingestion identities.

An analytics team may need to query sales data while a scheduled ingestion job updates only the orders table. Giving both access to the entire catalog exposes more than either needs. On December 3, 2026, Cloudflare announced object-level access controls in Basin Catalog. Account members and Account API tokens can now be scoped to selected catalogs, namespaces, Iceberg tables and views.

Start with the Objects the Role Needs

If the analysts use two tables, select those tables individually. A namespace grant can make sense for a team that needs every table and view inside it. Grants on a parent also cover descendants, so a namespace grant is broader than a list of two tables. Record which scope supports the work and review the decision when the team starts using a new dataset.

Account members can receive the Basin Catalog Object Reader or Basin Catalog Object Editor role. Account API tokens use Read or Edit access under the Basin Catalog Object permission. User API tokens do not support these object-level grants. Reader access covers catalog metadata. Editor access also allows relevant metadata writes, including operations such as creating or dropping tables and committing transactions. Keep an ingestion identity separate from reporting users and give it Edit access only where its job requires it. See the Basin Catalog access control reference for role details.

Verify the R2 Storage Layer Separately

Loading Iceberg metadata tells a query engine how to find the data files. Reading or writing the rows requires access to those R2 objects as well. Basin Catalog does not automatically add R2 permissions when you grant a catalog role. Broad storage access can still allow operations through the storage layer, so a narrow catalog scope alone is insufficient evidence of data isolation.

When the catalog vends storage credentials to the engine, those credentials inherit the R2 permissions of the authenticating token. R2 permissions in this workflow apply at bucket scope. If two datasets require independent storage boundaries, review whether they should live in separate buckets. For reporting workflows, start with read-only storage access and verify both layers using the actual engine identity.

Two-layer diagram separating catalog metadata permissions from R2 bucket access.

Pilot the Permission Matrix with Two Identities

  • With the analyst identity, open a permitted table and run a test query. Try the same action on a table outside its catalog scope and confirm that the permitted table rejects a write.
  • With the ingestion identity, write a test record to the intended table. Attempt a write to a second test table outside its selected catalog scope and verify the bucket policy independently.
  • When the engine receives vended credentials, check the expected bucket and test reads and writes separately. Record the catalog result and the storage result for each attempt.

If an engine can load table metadata but a query cannot read any rows, check the R2 permission and the bucket the engine actually uses. If it cannot load the metadata at all, start with the catalog role, object selection and inherited grants. Keep the results from both allowed and denied operations so the same tests can be repeated after a role or dataset changes.

The Cloudflare release note explains which principals support object scope. Mapping identities and data access across separate engines and ingestion jobs can be part of a systems integration project.

Primary source: developers.cloudflare.com