I have carefully picked apart RubaXa’s Sortable example in order to understand the minimum bits and pieces required for using it in my own project, but I have hit a snag: if I do …
meteor remove insecure
… the demo stops working properly. Attempts to modify the list with drag’n drop cause errors like …
insert failed : Access denied
I do not see any dependency on a user being logged in, but even if I do create a user and log in I get “Access denied” in any case.
When I look in the files ./.meteor/local/build/programs/server/packages/rubaxa-sortable.js & ./.meteor/local/build/programs/server/packages/rubaxa-sortable.js , I see that methods are defined on the server side and called from the client – so why is access denied?
I made a separate GitHub repo in order to simplify trying out suggested solutions. It is here : martinhbramwell/rubaxa-meteor-sortable
I would appreciate any suggested ways to get past this obstacle.
I would really appreciate a pull request with the right solution.