Allow API consumers to edit collections (bug 894585)

r? @cvan @diox