Changed so users can only edit and delete their own activities.