Skip to main content

SCOPES

Constant SCOPES 

Source
pub const SCOPES: [(&str, &str); 6];
Expand description

The scopes bb needs, with what each one buys, in the order someone should decide about them: read:user:bitbucket first because login itself fails without it, then the read scopes a browsing user wants, then the grants that only some commands need. Ordering is the only guidance a list this long can give, since Atlassian’s picker shows two dozen Bitbucket scopes at once.

This list and the README’s “Token scopes” table are the same facts written twice; tests/auth.rs::the_readme_scope_table_matches_the_login_walkthrough asserts they stay equal, because they did not — the table gained the last two entries while the walkthrough kept printing four.