Forum Discussion
MarkShnier__You
Qrew Legend
5 years agoWith the proviso that I really don't know much about code pages, I do know that every single thing in Quick Base runs under the permission of a user.
There's probably a way in your code page to use a user token but I do not know how to code that. If you use a user token that is from the role of a person or user ID that is in the admin role then it will work.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
There's probably a way in your code page to use a user token but I do not know how to code that. If you use a user token that is from the role of a person or user ID that is in the admin role then it will work.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
- JimHarrison5 years agoQrew ChampionHi Mark,
What has me perplexed is the records are added and appear correct no matter who clicks the button. It's the Webhook that runs when the records are added that is missing data.
So a Code page runs with the Users permissions and adds the Records. We're using an App token to handle authentication in the Code page. That seems to be correct.
Next the Webhook triggers and sends data. I think the Webhook runs off the Webhook "Owner". It says at the bottom of the Webhook page "The webhook uses the owner's permissions to determine access to Quick Base data" right next to the Owner field. In this case the Webhook Owner is an Administrator account, so the Webhook should run unimpeded... right?
Thanks,
Jim
------------------------------
Jim Harrison
transparency = knowledge + understanding : The Scrum Dudes
------------------------------- RickPutnam5 years agoQrew CadetHi, Jim,
I believe you are correct regarding the webhook permissions being those of the owner of the webhook. I have not seen behavior like this. I would probably go with a support ticket at this point if I were in your shoes.
Best of luck,
Rick
------------------------------
Rick Putnam
------------------------------