Bitbucket Data Center API Client
    Preparing search index...

    Interface PermittedEntity

    A user or group holding direct or implied permissions on a project.

    Atlassian does not publish a response schema for the permissions/search endpoint; this shape is typed defensively and all fields are optional. Inspect real responses from your Bitbucket version before relying on a specific field.

    interface PermittedEntity {
        name?: string;
        permission?: string;
        permissions?: string[];
        type?: "USER" | "GROUP";
        user?: BitbucketUser;
    }
    Index

    Properties

    name?: string

    Name of the user or group

    permission?: string

    Single permission, on Bitbucket versions that report one entry per grant

    permissions?: string[]

    Permissions the entity holds (directly or implied)

    type?: "USER" | "GROUP"

    Whether the entry is a user or a group

    The full user object, when the entry is a user