From cea06d7c4b856ea755d1d9a61fca6b532b09cafb Mon Sep 17 00:00:00 2001 From: ISHIKAWA Koutarou Date: Thu, 11 Jul 2024 22:09:51 +0900 Subject: [PATCH] =?UTF-8?q?fixes=20#34=20users=20/index.md=20=E5=92=8C?= =?UTF-8?q?=E8=A8=B3=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F=E3=80=82=20(#35)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fixes #17 * Delete javascript/enqueuing/index.md * Add files via upload * issues #34 users /index.md * Update index.md 強調タグ「アンダースコア」を「鉤括弧」に変更。 --- users/index.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/users/index.md b/users/index.md index 4e7ad4c..c8babf6 100644 --- a/users/index.md +++ b/users/index.md @@ -1,17 +1,44 @@ + +# ユーザー + +「ユーザー」とは、WordPress のインストール内で対応する権限を持つアクセスアカウントのことです。WordPress の各ユーザーは、最低限、ユーザー名、パスワード、メールアドレスを持っています。 + +ユーザーアカウントが作成されると、そのユーザーは WordPress 管理画面を使って (またはプログラムを使って) ログインし、WordPress の機能やデータにアクセスできます。WordPress は、ユーザーを `users` テーブルに格納します。 + +## 権限グループと権限 + +ユーザーには[権限グループ](https://developer.wordpress.org/plugins/users/roles-and-capabilities/#roles)が割り当てられ、各権限グループには[権限](https://developer.wordpress.org/plugins/users/roles-and-capabilities/#capabilities)のセットがあります。 + +独自の権限を持つ新しい権限グループを作成できます。カスタム権限を作成して、既存の権限グループや新しい権限グループに割り当てることもできます。 + +WordPress では、開発者はユーザー権限グループを利用して、アカウントが実行できる一連のアクションを制限できます。 + +## 最小権限の原則 -WordPress adheres to the principal of least privileges, the practice of giving a user _only_ the privileges that are essential for performing the desired work. You should follow this lead when possible by creating roles where appropriate and checking capabilities before performing sensitive tasks. \ No newline at end of file + +WordPress は、最小権限の原則を遵守しています。最小権限の原則とは、目的の作業をするために必要な権限_のみ_をユーザーに与えるという慣習です。必要に応じて権限グループを作成し、機密性の高い作業をする前に権限を確認することで、可能な限りこの原則に従うべきです。 \ No newline at end of file