cnb-rs repo member inherited
cnb-rs repo member inherited [options]列出继承自父组织的仓库成员。这些用户没有出现在仓库 ACL,但因为是父组织成员,会自动获得对应权限。
选项
-r, --role <ROLE>: 按角色过滤-s, --search <KEYWORD>: 关键字搜索-L, --limit <N>: 每页数量,默认100--page <N>: 页码,默认1
继承的全局选项:
--repo <REPO>: 指定仓库路径--json: JSON 输出--domain <DOMAIN>: 指定目标域名
输出
表格 4 列:
| 列 | 说明 |
|---|---|
INHERIT FROM | 权限来源父组织路径 |
USERNAME | 用户名 |
NICKNAME | 昵称 |
ROLE | 在源组织的等级(被继承到本仓库) |
示例
bash
# 看本仓库的继承成员
cnb-rs --repo wwvo/cnb-rs/cli-dogfood repo member inherited
# 只看从父组织继承的 Owner
cnb-rs --repo wwvo/cnb-rs/cli-dogfood repo member inherited --role Owner