@triply/triplydb
    Preparing search index...

    Type Alias AccessLevel

    AccessLevel: "public" | "private" | "internal"

    Who can reach a dataset, query, story or group.

    • private — only the owner, or for content owned by a group, only that group's members.
    • internal — anyone logged in to the same TriplyDB instance.
    • public — anyone on the internet.

    Datasets, queries and stories are private unless set otherwise; a group is public by default.

    A group's own level constrains what it owns, and the constraint is enforced by refusal rather than by silent demotion: making a dataset in a private group public is rejected, as is lowering a group that still owns something more accessible, and as is a subgroup more open than its parent.