LPS-46870 When indexing permission the status is still draft. We should retrieve the entity based on the classPK no matter the status (as done in BlogsIndexer)