Skip to content

Add --branches flag to token create - #8

Draft
fangpenlin wants to merge 1 commit into
masterfrom
cursor/branch-limited-grants-4007
Draft

Add --branches flag to token create#8
fangpenlin wants to merge 1 commit into
masterfrom
cursor/branch-limited-grants-4007

Conversation

@fangpenlin

Copy link
Copy Markdown
Contributor

amendable token create --branches main,release/1.0 sends allowed_branches on the token create request.

Empty / omitted keeps the previous all-refs behavior. Enforcement lives in amendable-web (git push only).

Companion PRs: amendable-web and amendable-docs on the same branch name.

Open in Web Open in Cursor 

Pass allowed_branches on POST so tokens can be limited to named branches.

Co-authored-by: Fang-Pen Lin <hello@fangpenlin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants