Question: who defines user story acceptance criteria?
Answer: Before the developer can mark the User Story as 'done'. All criteria must be fulfilled so that it is ensured that the User Story works as planned and tested. The product owner is usually responsible for specifying what the acceptance criteria should be for each of the user stories.