「パーミッションのオーバーライド」の版間の差分

提供:MoodleDocs
移動先:案内検索
27行目: 27行目:


;禁止
;禁止
:This is rarely needed, but occasionally you might want to completely deny permissions to a role in a way that can NOT be overridden at any lower context.
:このパーミッションを必要とすることは、滅多にありません。しかし、低いコンテクストからオーバーライドさせない等、ロールのパーミッションを完全に拒否する場合に使用すると良いでしょう。


==Locations for overriding permissions==
==Locations for overriding permissions==

2010年3月25日 (木) 17:10時点における版

再作成中です - Mitsuhiro Yoshida 2010年3月19日 (金) 14:20 (UTC)

オーバーライドは、必要に応じてあなたのパーミッションを「微調整」できるよう、コンテクスト内で特定のペーミッションをオーバーライドするために作られました。

オーバーライドは、ユーザに追加パーミッションを与えることで、エリアを「広げる」ために使用することができます。例えば、オーバーライドは、学生がフォーラムを評価できるよう、使用することができます (詳細は、フォーラムパーミッションをご覧ください)。

オーバーライドは、アーカイブフォーラムでの新しいディスカッションの開始等、操作を禁止することもできます。

パーミッションのオーバーライドのインターフェースは、関連するケイパビリティが表示される以外、ロールの定義のインターフェースに似ています。継承パーミッションは、ハイライトされます。

メモ: Moodle 1.9以前のバージョンでは、パーミッションのオーバーライドページ名は、「ロールのオーバーライド」となっています。

パーミッション

Override permissions in Moodle 1.9

それぞれのケイパビリティには、4つの設定があります:

継承
デフォルトの設定です。ケイパビリティに継承が設定された場合、ユーザのパーミッションは、低いコンテクストと同じパーミッションを保持するか、ケイパビリティに設定されている別のロールが設定されます。例えば、学生がコースレベルで小テストの受験を許可されている場合、この設定により、特定の小テストへのロールが継承されます。
許可
このパーミッションにより、ユーザは、所定のコンテクストでケイパビリティを使用することができます。このパーミッションは、ロールが割り当てられたコンテクストおよび低いコンテクストすべてに提供されます。例えば、コース内でユーザに学生ロールが割り当てられている場合、 (ケイパビリティの設定値に抑制または拒否によるオーバーライドが含まれていない限り)、コース内のすべてのフォーラムにて、新しいディスカッションを開始することができます。
抑制
このパーミッションにより、ユーザのパーミッションが高いコンテクストで許可されていたとしても、あなたは、このケイパビリティのパーミッションを取り除くことができます。
禁止
このパーミッションを必要とすることは、滅多にありません。しかし、低いコンテクストからオーバーライドさせない等、ロールのパーミッションを完全に拒否する場合に使用すると良いでしょう。

Locations for overriding permissions

  • Front page context: "Override permissions" tab via Site Administration > Front Page > Front Page roles (in Moodle 1.8 onwards)
  • Course category context: "Override permissions" tab via assign roles link in course categories page
  • Course context: "Override permissions" tab via assign roles link in course administration block
  • Module context: "Override permissions" tab in editing activity page
  • Block context: "Override permissions" tab via assign roles link course block (with editing turned on)
  • User context: "Override permissions" link via roles tab in user profile page

Ability to override permissions

Users who have the capability moodle/role:override allowed (or, in Moodle 1.9.3 onwards, the capability moodle/role:safeoverride allowed) can override permissions for selected roles (as set in Allow role overrides).

The default administrator role has the capability moodle/role:override allowed, and admins can override permissions for all other roles by default.

Enabling teachers to override permissions

By default, only administrators are able to override permissions. Teachers can be enabled to do so as follows:

  1. Access Administration > Users > Permissions > Define roles.
  2. Edit the teacher role and change the capability moodle/role:override (or moodle/role:safeoverride in Moodle 1.9.3 onwards) to allow.
  3. Click the button "Save changes".
  4. Click the tab "Allow role overrides" (in Administration > Users > Permissions > Define roles).
  5. Check the appropriate box(s) in the teacher row to set which role(s) teachers can override. Most likely it will just be the student role (you don't want teachers to be able to override admins), so check the box where the teacher row intersects with the student column.
  6. Click the button "Save changes".

If preferred, a new role for overriding permissions may be created and selected teachers assigned to it.

Overriding permissions for selected students

Sometimes a teacher will want to over ride permissions for selected students. Typically they will assign a student a role locally. For example, assign a student as a non-editing teacher. However, administrators can override specific permission in a role. This does not create a new role. It modifies an existing specific role and affects all users assigned to that role in the context.

Sometimes the administrator (or someone with the permissions to) will create a new role. For example, the administrator will copy all the student permissions to a new role, then change specific permissions. The teacher then assigns specific students to this role without having to worry about checking off the correct role permissions.

関連情報