View a markdown version of this page

Schema-based permissions - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026. We will start enforcing it in phases. For more information on the details of Python end of life and migration options, see the blog post that was published on June 30, 2025.

Schema-based permissions

Schema-based permissions are determined by the owner of the schema:

  • By default, all users have CREATE and USAGE permissions on the PUBLIC schema of a database. To disallow users from creating objects in the PUBLIC schema of a database, use the REVOKE command to remove that permission.

  • Unless they are granted the USAGE permission by the object owner, users cannot access any objects in schemas they do not own.

  • If users have been granted the CREATE permission to a schema that was created by another user, those users can create objects in that schema.