Make the database engine purge temporary permissions where applicable.