presto-main/src/main/java/io/prestosql/security/AccessControlManager.java/AccessControlManager/checkCanRenameSchema
class AccessControlManager:    @Override
    public void checkCanRenameSchema(SecurityContext context, CatalogSchemaName schemaName, String newSchemaName)
    {
        requireNonNull(context, "context is null");
        requireNonNull(schemaName, "schemaName is null");

        authenticationCheck(() -> checkCanAccessCatalog(context.getIdentity(), schemaName.getCatalogName()));

        authorizationCheck(() -> systemAccessControl.get().checkCanRenameSchema(context.toSystemSecurityContext(), schemaName, newSchemaName));

        CatalogAccessControlEntry entry = getConnectorAccessControl(context.getTransactionId(), schemaName.getCatalogName());
        if (entry != null) {
            authorizationCheck(() -> entry.getAccessControl().checkCanRenameSchema(entry.toConnectorSecurityContext(context), schemaName.getSchemaName(), newSchemaName));
        }
    }