How to inject the userId variable into a stored procedure ? #2257
Unanswered
marcgardent
asked this question in
Q&A
Replies: 1 comment
-
Hi, I'm implementing a workaround, in a few words 👍 :
select books.* from books b
inner join usergroups ug on ug.id = b.userGroupId
inner join sessions s on s.token = $token
where s.UserId = ug.UserId Point for improvement :) server-side token expiration If you know of a more direct solution, please stop me :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to inject the userid variable (serverside😅) into a stored procedure using the data API builder integrated into SWA. I need to do this in order to secure the API as much as possible. The current policies are not sufficient to implement all of the necessary security scenarios ( sharing ressources between users)
I have searched for solutions to this problem, but I have not been able to find anything that works.
I would be grateful if you could help me with this issue.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions