Closed caleblamro closed 5 months ago
I suspect there may have been an issue in the permission syntax, however the designer drawer would perviously not handle and display errors correctly. I've improved this where errors are now correctly displayed, allowing you to further debug potentially invalid values
Thank you for doing that! Having error messages when the permissions are invalid will be awesome! I've attached some photos of the modifications I'm making to show you exactly what's going on. I don't believe the syntax is incorrect since when I make the modifications in the query tab, they work correctly. For this example I'm simply adding another scope to the select permissions on one of my tables. The first screenshot shows me adding OR $scope = 'user'
to the select permissions, and the second screenshot shows the permissions after I've clicked 'Save changes'. I'd love to help with this issue, so please let me know if there's anything you'd like me to try!
Interesting actually! You're supposed to prefix the condition with WHERE
if not using FULL
or NONE
, however it appears the WHERE
keyword is never restored back to the inputs.
I'll look into this further, however know that prefixing the conditions with WHERE
should solve your issue for now. For the next release I'll attempt to make WHERE redundant to prevent further confusion
Ahh I see. I assumed since the WHERE
clause wasn't in there to being with, I didn't need to add it. Once again, I really appreciate your help and the time you took to look into this for me.
Describe the bug Modifying permissions in the designer tab doesn't actually modify the permissions.
To Reproduce Steps to reproduce the behavior:
Expected behavior Permissions are properly modified
Environment: