#186 introduced an implementation of a second hasPermission method. This implementation searches for a "matching" DAO from the applicationContext, which may - in certain cases - not always be the "best matching" DAO for an entity.
We should find a better strategy to get the best matching DAO here. See #186 for details