For verbs of group 2, whose ~ます form is formed by dropping the ending ~る from the plain form, both the passive and potential forms have the same conjugation: ~られる. Example:
食べられる
1. to be eaten
2. can eat / edible
Other than looking at the context, how do I differentiate between the two meanings?