# RBACを使う

## 1. ロールを作成する

画面右上の`ADD ROLE`ボタンをクリック。

ロールの名前を入力し、ロールに紐づく権限を指定し`CREATE ROLE`をクリックします。1つ1つの権限の内容は権限ページをご覧ください。

{% content-ref url="/pages/-LgQo7FT5kgI\_a36nN31" %}
[権限](/ur-jp/permissions.md)
{% endcontent-ref %}

よく利用されるロールの組み合わせをいくつかご紹介します。

| できること  | サービス   | 権限                                                                                                               |
| ------ | ------ | ---------------------------------------------------------------------------------------------------------------- |
| 制限なし   | 全て     | Admin                                                                                                            |
| 閲覧権限のみ | WAVE   | <p>ReadAccount, ReadAccountSettings, </p><p>ReadGroups, ReadInvoice, ReadSettings, ReadTags</p>                  |
| 閲覧権限のみ | RIPPLE | <p>ReadAccount, ReadBillingGroup, ReadInvoice, </p><p>ReadInvoiceSettings, ReadReseller ReadRi, ReadSettings</p> |
| 閲覧権限のみ | USER   | ReadOnly                                                                                                         |
| 閲覧権限のみ | ROLE   | ReadOnly                                                                                                         |

{% hint style="info" %}
各ロールの内容は後からでも編集可能ですが、ロールの内容を変更した場合はそのロールが付与されているサブユーザーにも影響します。
{% endhint %}

## 2. サブユーザーを作成する

`ADD USER`ボタンをクリックし、Login Informationの必要項目を埋めていきます。

Rolesでは先ほど作成したロールの一覧が表示されるため、作成するサブユーザーにアタッチしたいものにチェックを入れ`CREATE USER`をクリックします。

サブユーザーに付与したロールの種類を変更する場合は各ユーザー横の編集マークから付与しているロールを変更することが可能です。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alphaus.cloud/ur-jp/rbacwou.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
