Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Sudo functions that requires the ROOT_TOKEN #4

Open
dstpierre opened this issue Mar 10, 2022 · 0 comments
Open

Sudo functions that requires the ROOT_TOKEN #4

dstpierre opened this issue Mar 10, 2022 · 0 comments

Comments

@dstpierre
Copy link
Member

Hey @ipfans ,

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant