I built a site in v4 and have been migrating to v10. To start, I rewrote all my queries in FQL10 in a test database. Once everything was working, I added the v10 queries to the live (originally v4) DB with a new naming convention and continued testing.
The issue I’m encountering in the live DB is, I believe, some sort of role/access conflict, where despite having the proper token and role/access configuration, queries are throwing “insufficient privileges” errors ONLY in the live DB. If I call the relevant UDFs from the Dashboard with the proper role set, everything works. If I call the functions from the test DB, which is configured identically and running on the same code except pointing at a different DB, everything works.
All this leads me to wonder if there’s some conflict between the old (still-present) set of Roles in the live DB and the new ones I’ve added for FQL 10. I event tried experimentally disabling collection membership in the old Roles, but so far that hasn’t worked either.
If the errors were cropping up in more than just this specific use-case I’d be certain I was just screwing something up, but at the moment I’m at a loss at to how to proceed.
Any advice on how to resolve this would be much appreciated. I’ve combed the forums a bit but haven’t seen any similar issues.