graphql-engine
graphql-engine copied to clipboard
Row Select Permissions Console and/or enhancement
As applications get more complex, so do custom checks for row select permissions. Currently in the UI you have to essentially rebuild all but the most trivial of custom checks, because you will require an additional logical operator ("_and" "_or") somewhere higher in the tree, and the UI doesn't support insertion.
I propose the following
- Provide a button next to every node that will insert an '_and' or '_or' node in that position, and place the rest of the node below it
- The ability to switch from "_and" to "_or" without wiping out the nested nodes
- Provide a UI way to remove an '_and' or '_or' node bringing the rest of the tree up
- (optionally) When saving optimize out any unneeded and/or blocks
If I understand issue #1734 it provides a work around for doing this.
This one is probably no longer needed now that you can directly edit the rules via json