cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

sql: grant/revoke privileges for udfs

Open chengxiong-ruan opened this issue 3 years ago • 1 comments

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.

chengxiong-ruan avatar Aug 10 '22 03:08 chengxiong-ruan

This change is Reviewable

cockroach-teamcity avatar Aug 10 '22 03:08 cockroach-teamcity

TFTR! bors r=ajwerner

chengxiong-ruan avatar Aug 11 '22 19:08 chengxiong-ruan

Build failed (retrying...):

craig[bot] avatar Aug 11 '22 21:08 craig[bot]

Build failed (retrying...):

craig[bot] avatar Aug 12 '22 00:08 craig[bot]

Build failed (retrying...):

craig[bot] avatar Aug 12 '22 02:08 craig[bot]

Build failed (retrying...):

craig[bot] avatar Aug 12 '22 04:08 craig[bot]

Merge conflict.

craig[bot] avatar Aug 12 '22 11:08 craig[bot]

🙏 bors r+

chengxiong-ruan avatar Aug 12 '22 13:08 chengxiong-ruan

Build succeeded:

craig[bot] avatar Aug 12 '22 15:08 craig[bot]