cb icon indicating copy to clipboard operation
cb copied to clipboard

"Disallowed property detected: categories.0" when editing

Open Wilson110 opened this issue 9 years ago • 4 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.

Wilson110 avatar Mar 24 '15 01:03 Wilson110

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

lpatmo avatar Mar 27 '15 03:03 lpatmo

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

lpatmo avatar Mar 27 '15 03:03 lpatmo

Anyone figured out a fix so far?

awrelll avatar Mar 30 '15 06:03 awrelll

@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

rastalamm avatar Sep 21 '15 02:09 rastalamm