「図で説明する問題パーミッション」の版間の差分

提供:MoodleDocs
移動先:案内検索
39行目: 39行目:
Annieは、問題バンクにアクセスするため必要なすべてのパーミッションを持った、新しいロール「問題ユーザ」を作成します。Annieは、システム全体において、その新しいロールをFredに割り当てます。Fredは、彼の問題をコース間で閲覧、編集、自分の小テストに追加することができるようになりました。なぜでしょう?
Annieは、問題バンクにアクセスするため必要なすべてのパーミッションを持った、新しいロール「問題ユーザ」を作成します。Annieは、システム全体において、その新しいロールをFredに割り当てます。Fredは、彼の問題をコース間で閲覧、編集、自分の小テストに追加することができるようになりました。なぜでしょう?


The questions are linked to category Miscellaneous. Miscellaneous is inside the system. Fred is a Question user in the system. Question users can access the question bank. So Fred can access this part of the question bank.
問題は、カテゴリ「その他」にリンクされています。カテゴリ「その他」は、システム内にあります。Fredはシステム内の「問題ユーザ」です。「問題ユーザ」は、問題バンクにアクセスすることができます。ですから、Fredは問題バンク内の問題にアクセスすることができます。


The quizzes are in courses where Fred is a teacher, so Fred is has permission to add questions to the quizzes. The quizzes are in the Miscellaneous category, so the questions in that part of the question bank are potentially available. We have just seen that Fred has permission to access these question. Therefore Fred can add these questions to his quizzes.
The quizzes are in courses where Fred is a teacher, so Fred is has permission to add questions to the quizzes. The quizzes are in the Miscellaneous category, so the questions in that part of the question bank are potentially available. We have just seen that Fred has permission to access these question. Therefore Fred can add these questions to his quizzes.

2009年4月11日 (土) 17:00時点における版

作成中です - Mitsuhiro Yoshida 2009年4月2日 (木) 02:35 (UTC)

シンプルストーリー

1. 場所の設定

例えば、私たちは、この非常にシンプルなMoodleサイトを想像できます。3つのコースがあり、すべてのコースは「その他」カテゴリに入れられています。それぞれのコースでは、コース内に少数の活動を持っています。

QuestionPermissions1.png

2. Fredの紹介

特定のユーザ「Fred」に焦点を合わせてみましょう。Fredは、2つのコースの教師です。ログインすることにより、すべてのユーザはMoodleにおいて、いくつかのパーミッションを持ちます。さらに、Fredは教師として教えるコースおよびコース内の活動において、教師ロールを持つため、いくつかのパーミッションを持ちます。

QuestionPermissions2.png

3. コース内で問題を使用する

Fredは、いくつかの問題を自分の数学コースで作成して、小テストに追加します。なぜこれが動作するのでしょう?

デフォルトで、問題はコースに属しているカテゴリ内の問題バンクに保存されます。Fredはコースの教師です。教師には問題作成が許可されています。そのため、Fredは問題を作成することができ、作成された問題は、コース内に保存されます。

問題はコース内にあります。Fredはコースの教師であるため、問題を小テストに追加するパーミッションを持ちます。小テストはコース内にあるため、コース問題は潜在的に利用可能です。Fredはコースの教師であるため、コース問題バンクの問題使用を許可されています。そのため、Fredは問題を自分の小テストに追加できます。

QuestionPermissions3.png

4. 問題を共有してみる

Fredは、彼が作った問題を生物学コースで再使用したい思っています。しかし、生物学の小テストは数学コース内にはありません。ですから、問題を使用することはできません。

そこで、Fredの親切なMoodle管理者であるAnnieは、「その他」カテゴリに関連付けられている問題バンクに問題を移動しました。大失敗! Fredは彼の問題すべてを閲覧できなくなりました。なぜなのでしょう?

現在、問題はコース外にあります。Fredはコース外でのパーミッションを必要とします。ですから、彼はそこにある問題にアクセスすることができないのです。

QuestionPermissions4.png

5. 成功裏に問題を共有する

Annieは、問題バンクにアクセスするため必要なすべてのパーミッションを持った、新しいロール「問題ユーザ」を作成します。Annieは、システム全体において、その新しいロールをFredに割り当てます。Fredは、彼の問題をコース間で閲覧、編集、自分の小テストに追加することができるようになりました。なぜでしょう?

問題は、カテゴリ「その他」にリンクされています。カテゴリ「その他」は、システム内にあります。Fredはシステム内の「問題ユーザ」です。「問題ユーザ」は、問題バンクにアクセスすることができます。ですから、Fredは問題バンク内の問題にアクセスすることができます。

The quizzes are in courses where Fred is a teacher, so Fred is has permission to add questions to the quizzes. The quizzes are in the Miscellaneous category, so the questions in that part of the question bank are potentially available. We have just seen that Fred has permission to access these question. Therefore Fred can add these questions to his quizzes.

QuestionPermissions5.png

Summary of the rules

Questions are stored in the question bank linked to some part of your Moodle system (technically a context). The part of the system might be (and most often is) a course, or a course category, the whole system, or an individual activity.

To create and editing questions

you must have the appropriate capability in the part of the system where the questions are stored, to have permission to do the corresponding operation (add, edit, ...).

To add questions to a quiz

three checks have to pass:

  1. You must have the mod/quiz:manage capability in that quiz, to have permission to add questions to it.
  2. The quiz must be inside the part of the system where the questions are stored, in order for the questions to be available in the quiz.
  3. You must have the moodle/question:use(all/mine) capability in the part of the system where the questions are stored, to have permission to use those questions.

関連情報