azavea/OpenTreeMap-iOS — pull request #12 by ahinz (2013-02-07 16:29:41+00:00)
Title: Allow users to make new trees (fixes 056bc12e4cd8)

Commit 056bc12e4cd8 added support for readonly trees by looking at the
"can_edit" property. When a new tree is added it doesn't have a set of
permissions from the API so "can_edit" was essentially returning nil.

Now we only prevent editing if the API explicitly returns a permission
set.