Added permission checks in problems participants and tests controllers