- can [:create, :update, :upload, :close, :subscribe, :unsubscribe], Changeset if scope?(token, :write_api)
- can :create, ChangesetComment if scope?(token, :write_api)
- can [:create, :update, :delete], [Node, Way, Relation] if scope?(token, :write_api)
+ can [:create, :update, :upload, :close, :subscribe, :unsubscribe], Changeset if scopes.include?("write_map")
+ can :create, ChangesetComment if scopes.include?("write_changeset_comments")
+ can [:create, :update, :destroy], [Node, Way, Relation] if scopes.include?("write_map")