cloudspannerecosystem / memefish

memefish is the foundation to analyze Spanner SQL
https://cloudspannerecosystem.dev/memefish/
MIT License
76 stars 19 forks source link

Rework fine-grained access control syntax implementations #66

Closed makenowjust closed 1 year ago

makenowjust commented 1 year ago

This PR mostly reverts #50 and adds correct implementations for fine-grained access control syntax (GRANT and REVOKE statements).

We introduces two interfaces. Privilege represents a privilege on certain object (e.g. TABLE, VIEW, etc). TablePrivilege represents a privilege on TABLE.

makenowjust commented 1 year ago

SELECT ON CHANGE STREAM privilege is not supported so far. It is intentional because #58 is working in progress.