What does the final phrase in this Pasuk mean?
Rashi, Targum Onkelos and Targum Yonasan: It means that everything that took place in the prison was done with his authorization.
Malbim: He used to sell the things that the prisoners made [from which they were fed].
QUESTIONS ON RASHI
Rashi writes that everything done there was according to Yosef's word. Why didn't the verse simply say so?
Ohr ha'Chayim: Even though everything was done according to Yosef's word, he did not act with authority and refrain from doing things that the inmates did. Rather, he was like everyone.