Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error adding collection: errorClass {error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error"} #115

Open
XaRz opened this issue Jun 21, 2016 · 0 comments

Comments

@XaRz
Copy link

XaRz commented Jun 21, 2016

Hello,

[meteor newby's lines below]
First, vainilla package is working as expected. My problem is hacking it, because I've poor meteor knowledge. Well, let's try:

I'm trying to add a new collection like the Posts one, only different fields and I'm receiving a error message on submit the form:

errorClass {error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error"}

I've edited:

  1. Added the file plans.coffe with same estructure as post with diferent field names.
  2. Modified views->dashboard.html with the template for Adding a Plan (same as posts with diferent id)
  3. Modified allow.coffee with same structure as Posts.allow
  4. Modified lib->router->main.cofee adding the subscribe line for 'plans' same way as 'posts
  5. Added in i18n->en.i18n.json the en translations for autoforms fields.

No way, posts is working normally but autoforms plans says 403. Any hints?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant