It works perfectly if I edit it from the Realm’s UI.
But if I try to deploy the same configuration automatically from Github I get Failed: failed to import app: failed to migrate permissions: unknown operator '%stringToOid' in the Deploy logs and no changes are deployed.
Do you have an idea what I may be doing wrong?
Hi! thanks for reporting - this looks like a bug. I’ve filed it with the engineering team but as a temporary workaround, you can either
a) continue using the UI to deploy your application
b) write a function that converts an objectId to a string and use that within rules (example here)