> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# 角色

> 使用默认角色或构建自定义角色，控制每个团队成员可以做什么

**角色**是一组权限。**Roles** 标签页显示每个角色可以做什么，您也可以在这里创建自己的角色。

从 **Organization → Roles** 打开它。

## 默认角色

Yuno 提供六个默认角色：

| 角色 | 描述 |
| :- | :- |
| Admin | 访问 Dashboard 中的所有功能。 |
| Agent | 查看支付并对其执行操作。 |
| Developer | 查看集成和 webhooks 并对其执行操作。 |
| Read only | 查看 Dashboard 中的所有功能。 |
| Custodian | 当您邀请 Yuno 团队专家加入您的团队时，分配此角色。 |
| IAM Admin | 管理访问和安全设置，例如 SSO 和角色。 |

## 角色范围：账户或组织

同一个角色的行为取决于授予它的层级：

* **账户**：该角色仅适用于此人被分配到的账户。对于此人需要的每个账户，都需要分别邀请。
* **组织**：该角色适用于组织中的每个账户，包括之后创建的账户。这适用于任何角色，而不仅仅是 Admin。组织层级的“支付分析师”无需逐个账户被邀请，即可查看所有地方的支付。

> [!NOTE]
>
> **安全权限仅限组织层级**
>
> **Security** 下的权限（例如配置 SSO）只能通过组织层级的角色授予，无法在单个账户上分配。

## 创建自定义角色

选择 **Create role**，然后设置名称、描述以及该角色应具有的权限。

### 按环境划分的权限

每项权限都针对以下环境独立配置：

* **Sandbox**：测试和开发。
* **生产环境**：实际业务运营和敏感数据。

因此，一个角色可以在 Sandbox 中拥有完全访问权限以便测试，同时在生产环境中保持受限。

### 可用权限

* **Insights**：访问可据以采取行动的支付洞察
* **Payments**：查看和操作支付，管理支付链接
* **Payouts**：查看 payouts 和交易详情
* **Reconciliation**：查看结算报告
* **Connections**：查看和管理支付连接
* **Routing**：查看和管理处理路由
* **Checkout builder**：查看和构建 checkout 配置
* **Developers**：查看和管理账户密钥
* **Webhooks**：查看和管理 webhooks
* **Accounts**：管理账户设置
* **Team and roles**：查看和管理团队成员和角色
* **Risk conditions**：查看和管理规则与列表
* **Audit logs**：查看 Dashboard、API 和监控器日志

## 相关文档

* [团队成员](https://docs.y.uno/zh-hans/docs/using-yuno/organization/team-members.md)：为某人授予角色。
* [审计日志](https://docs.y.uno/zh-hans/docs/using-yuno/settings/audit-logs.md)：查看谁更改了什么。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.