mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-07 07:23:15 +00:00
Currently, when a user is altering a function, they need both CREATE and ALTER permissions, instead of just ALTER. Additionally, after altering a function, the user is treated as an owner of this function, gaining all access permissions to it. This patch fixes these 2 issues, by checking only the ALTER permission when actually altering, and by not modifying user's permisssions if the user did not actually create the function.
7.6 KiB
7.6 KiB