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

Sudo functions that requires the ROOT_TOKEN #4

@dstpierre

Description

@dstpierre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions