pollyglot/google-play-cli-skills

gplay-team

Developer account members and permissions with gplay team.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/pollyglot/google-play-cli-skills --skill gplay-team

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

gplay team (users + grants + permissions)

Two write surfaces and one offline reference: account-wide membership (team users), per-app access (team grants), and the permission vocabulary (team permissions). Shared conventions are in gplay-cli-usage.

Permission vocabulary (start here)

bash
gplay team permissions --scope app       # offline; account scope by default (team users), app scope for team grants
gplay team permissions --output json     # marks the admin-conferring alias and bundle

Writes take `--role <bundle>` XOR `--permissions <alias,…>` (raw CAN_* enums accepted); team users resolves in account scope, team grants in app scope.

Account-wide members

bash
gplay team users list
gplay team users view alice@example.com    # one member: permissions + per-app grants (unknown member: exit 30)
gplay team users add alice@example.com --role release-manager
gplay team users set bob@example.com --permissions CAN_REPLY_TO_REVIEWS_GLOBAL   # declaratively replaces the set
gplay team users remove carol@example.com --confirm     # off-boarding is destructive: exit 3 without it

add/set have no gate except conferring admin (--role admin, or a set containing the all-permissions enum): --grant-admin, exit 3 without it (ADR-0017). remove needs --confirm.

Inviting an existing member fails with exit 60. To make add safe to re-run, pass --if-exists skip (leave the member as is) or --if-exists update (converge: replaces the whole permission set, like set), both [experimental]. The --grant-admin gate still applies first.

Per-app access grants

bash
gplay team grants list
gplay team grants set alice@example.com --package com.example.app --role reviewer      # upsert; admin needs --grant-admin
gplay team grants remove alice@example.com --package com.example.app --confirm         # drops one app, keeps the membership

grants set --dry-run --output json reports the resolved verb (create/update) and the permission diff beside requires.

Developer account addressing

Commands address the Developer account id recorded by gplay auth login --developer-id; the override cascade (--developer-id) is in gplay-cli-usage.

同じリポジトリから

関連する Skills

すべての Skills