You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
I was wondering what would be the best Python-way to implement the sudo functions, those requies the root_token instead of the user's session token.
They're usually very useful and only accessible from backend libraries, like this Python one.
In the Go library I used the prefex Sudo to distinguish / clarity, for instance SudoUpdate let a backend functions updates a document even witout needing the session token.
I was wondering if you had some idea of what would be a good design / implementation for those functions.
Thanks
The text was updated successfully, but these errors were encountered:
Hey @ipfans ,
I was wondering what would be the best Python-way to implement the
sudo
functions, those requies theroot_token
instead of the user's session token.They're usually very useful and only accessible from backend libraries, like this Python one.
In the Go library I used the prefex
Sudo
to distinguish / clarity, for instanceSudoUpdate
let a backend functions updates a document even witout needing the session token.I was wondering if you had some idea of what would be a good design / implementation for those functions.
Thanks
The text was updated successfully, but these errors were encountered: