Skip to content
Advertisement

Does ALTER SCHEMA NAME affect permission grants to the schema in Redshift

If i update a schema which has been set up with a bunch of permissions to access other schemas with different access rights, will updating the name undo those grants or will they remain in place? Redshift lists the following on their docs as the syntax to run an alter schema, but does not write if the grants will be affected:

My assumption was that there would be no change to existing grants, but i want to make sure before the change goes into effect.

Advertisement

Answer

You are correct. Changing the name does not change the underlying permissions. You can test this yourself in a new / dev cluster by ensuring that that the privileges return the same before and after you alter a table name. However, changing the owner will impact the owner level privileges.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement