-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
// SPDX-FileCopyrightText: 2025 Shota FUJI <pockawoooh@gmail.com>
// SPDX-License-Identifier: AGPL-3.0-only
edition = "2023";
package yamori.workspace.v2;
import "yamori/workspace/v2/custom_attribute.proto";
import "yamori/workspace/v2/user_permissions.proto";
option go_package = "pocka.jp/x/yamori/proto/go/workspace/v2";
message CreateUserRequest {
// [必須] ログインユーザ名。社員 ID でもハンドルネームでも本名でも。
string name = 1;
// 公開名。未設定の場合は `name` の値となる。
string display_name = 2;
// [必須] 初期パスワード。
string password = 3;
// 管理者ユーザかどうか。
bool is_admin = 4;
// 通常ユーザの権限。管理者ユーザの場合は無視される。
UserPermissions permissions = 5;
// カスタムフィールドの一覧。
// `definition` フィールドのメッセージ内容は `id` 以外無視される。
// ワークスペースに定義されているがここに含まれていないものは空白値
// として登録される。
repeated CustomAttribute custom_attributes = 6;
}