Fixed #22956 -- Made PermissionManager.get_by_natural_key() use the correct database for content type lookup.