Skip to content

Add context variable to help detect if we are inside a datasette.client request #2594

@simonw

Description

@simonw

Original title was: Rename _skip_permissions to reflect it's about datasette.client.get() internals

We just used the _skip_permissions context variable in Datasette Cloud to detect an internal hit via datasette.client.get() - which made me think we should make this a public API and rename it to something that reflects that it's actually about detecting calls within the datasette.client mechanism.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions