Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1658·instant

permission browser tool

Author: ElijerCreated Sep 12, 2025Updated Sep 26, 2025

I was on a call with @nezaj and was discussing my permission-testing process, which involves copying a failing permission, pasting it into the sandbox, recreating the permissions relevant to the query, and messing around.

This workflow is a pain in the ass for a few reasons. It would be amazing to have a browser tool that just pulled the relevant info from a failing query and pasted it into the browser sandbox to make it really easy to test out permissions

Detail: I'd also request that the permissions editor is Javascript that returns a permissions object, instead of JSON. That would be really helpful because

  • My permissions file is JS not JSON, so copying is a pain
  • My permissions file has some string literals that slow me down too
  • It's useful to have comments and string literals while testing this stuff

How?

  • Can you create a list of network requests to instant to find queries that failed for permissions reasons, and allow user to select which one they want to test in Sandbox?
  • Or, let user add a debugging flag to the query they are interested in

Source: instantdb/instant

View original on GitHubView discussion on GitHub