lpatmo / cb

UPDATE: the newer version of this repo is at github.com/codebuddiesdotorg/codebuddies

Home Page:http://codebuddies.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Disallowed property detected: categories.0" when editing

Wilson110 opened this issue · comments

When you try to edit a submitted hangout, you get this message in return: "Disallowed property detected: categories.0". According to MeteorJS documentation, this is more of a Telescope error, when a post contains properties which is only allowed if the user is an admin. Perhaps users should be allowed editing privileges on the hangouts they create/submit.

commented

++ Haven't had time to look into this, but will try to get to it next weekend unless someone can get to it earlier.

commented

Update: Actually, I don't see this bug anymore in my dev. Does anyone else still see it?

Anyone figured out a fix so far?

@Awrell - I was running into a similar issue and was able to fix it by adding the "editableBy" attribute to my schema.
EX: editableBy: ["member", "admin"],

I can't seem to find the docs for this but it was already in the codebase I stepped into.

I am using Telescope with SimpleSchema + AutoForm