v.25.7New Feature

Introduced two new access types: READ and

Introduced two new access types: READ and WRITE for sources and deprecates all previous access types related to sources. Before GRANT S3 ON *.* TO user, now: GRANT READ, WRITE ON S3 TO user. This also allows to separate READ and WRITE permissions for sources, e.g.: GRANT READ ON * TO user, GRANT WRITE ON S3 TO user. The feature is controlled by a setting access_control_improvements.enable_read_write_grants and disabled by default. #73659 (pufit).
Introduces two new source access types: READ and WRITE, replacing previous generic access types for more granular permission control.

Why it matters

This feature solves the problem of coarse-grained source permissions by allowing users to separately grant READ and WRITE access. It improves security and flexibility in managing source permissions by enabling distinct control over read and write operations.

How to use it

Enable the feature via the setting access_control_improvements.enable_read_write_grants (disabled by default). Then use the new syntax to grant permissions, for example:

GRANT READ ON * TO user;
GRANT WRITE ON S3 TO user;

This replaces the previous form such as GRANT S3 ON . TO user.