Open lgastako opened 8 years ago
launch with permission checking off in dev. hz serve --dev --permissions no
@magoomby That clearly does not solve his problem.
it looks like an entry is missing under schema.toml, smtg like :
[groups.authenticated.rules.write_to_table] template = "collection('table').store(any())"
Server version: 2.0.0-beta-7 Client version: 2.0.0-beta-7
I am executing a query like this:
And I see "saving..." but then no "ok", "err", or "boom" and then get this error uncaught at the top level:
NB. None of that is code that is in my control.
I would expect this to come back in the failure branch of the subscription, or at the very least be able to be handled somehow. The
Operation not permitted
error is correct -- the thing I am testing that is causing this error is trying to create to items with the same primary key -- it's correctly failing the second one but I of course want to be able to handle this and gracefully report to the user that the key is already taken.