Skip to content

bab 0.4.26

Choose a tag to compare

@kmgreiner3 kmgreiner3 released this 20 Nov 02:52
· 16 commits to main since this release
b289c09

Added

  • A repository set can be every repository, for Read alone. An agent that reads code across
    an organization had to have every repository picked by name, and a new repository waited for
    someone to add it. A child of a service connection may now say all_repositories: true: the
    token is an installation token with no repository list and only the read tier's permissions.
    Nothing on such a set can change a repository:

    • a level beyond Read is refused when it is asked for, and again when it is decided;
    • a set that holds or awaits more than Read cannot become every repository, whoever writes it;
    • the minter mints from the read-tier permissions alone, whatever the row says.

    It is only ever an agent's set under a service connection, never the connection itself (every
    child would inherit it) and never beside a list (422 either way). A lease on such a set carries
    Read alone and names only that as granted.

    An owner picks it as they pick repositories. Once the set carries a grant, every repository
    widens it, so it waits for a reviewer as a repositories request with the proposal
    {"all": true}. Back to named repositories is a narrowing and lands. GET /integrations
    says all_repositories on each row, and the answer to a write says it back.

Image: ghcr.io/tenishai/bab@sha256:ddfbf07e9d83bd6b687efc736fac74c8c71fa64422240ac9dc920e4ebe11dcd1 (tags v0.4.26, b289c09; linux/amd64, linux/arm64)