Item, Bernardus dicit: quaedam sunt praecepta moralia primae tabulae ordinantia ad Deum; quaedam secundae ordinantia ad proximum; quaedam superaddita, ut canonicae sanctiones et Patrum instituta. In primis non potest despensare nec homo nec Deus; in secundis non homo, sed Deus; in tertiis et homo et Deus. Ratio autem huius est, quia praecepta primae tabulae immediate ordinant ad Deum.
"Bernard says that there are some moral precepts which belong to the first tablet [of the Ten Commandments], ordered to God; some which belong to the second [tablet of the Ten Commandments], ordered to one's neighbor; and some superadded precepts, such as the sanctions of canon law or [monastic and religious rules] instituted by the holy fathers. The first [set] neither man nor God can dispense from; the second man cannot, but God can; the third both man and God can. The reason for this is that the precepts of the first tablet are immediately ordered to God."
The relevant passage is in St Bernard's De praeceptio et dispensatione [c. 2-3], where he says pretty much what St Bonaventure says. Those precepts pertaining to charity, that is, to the good of our relationship to God, are necessary and inviolable. But:
Necessarium deinde, quod inviolabile nominavi, illud intelligo, quod non ab homine traditum, sed divinitus promulgatum, nisi a Deo qui tradidit, mutari omnino non patitur, ut, exempli causa: NON OCCIDES, NON MOECHABERIS, NON FURTUM FACIES, et reliqua illius tabulae legisscita, quae, etsi nullam prorsus humanam dispensationem admittunt, nec cuiquam hominum ex his aliquid aliquo modo solvere aut licuit, aut licebit, Deus tamen horum quod voluit, quando voluit solvit, sive cum ab Hebraeis Aegyptios spoliari, sive quando rophetam cum muliere fornicaria misceri praecepit.
And so forth. This is just what Bonaventure said, and it should be clear that this position is not therefore the first bad fruits of Scotism, nominalism, or some imaginary hybrid of the two.
Moving on: in the same question St Bonaventure asks the hilarious question: say there's only three people left alive on the Earth: myself, one woman, and the pope, and say I've taken a vow of perpetual continence. Can the pope dispense me from my vow for the sake of the conservation of the species?
No! For one thing, this would never happen. For another, even if the case would arise, there would be no way to know that the species could be preserved by breaking my vow. If I did the deed with the woman it very well might be that no children result anyway. So I would certainly break my vow for the uncertain possibility of some good not under my control.