cockroach
cockroach copied to clipboard
sql: grant/revoke privileges for udfs
There are 4 commits:
(1) add syntax support for grant/revoke privileges of function.
(2) implement grant/revoke privilege for functions (mostly just reading correct descriptors)
(3) fix a minor issue when hydrating a mutable function which use table implicit type (mutable table implicit type cannot be fetched)
(4) populate information_schema.role_routine_grants, and we can test privileges on that.
TFTR! bors r=ajwerner
Merge conflict.
🙏 bors r+