「ロールの割り当て」の版間の差分

提供:MoodleDocs
移動先:案内検索
8行目: 8行目:
*コースコンテクスト: コース管理ブロック内の「ロールの割り当て」リンク
*コースコンテクスト: コース管理ブロック内の「ロールの割り当て」リンク
*モジュールコンテクスト: 活動編集ページのロールタブ
*モジュールコンテクスト: 活動編集ページのロールタブ
*ブロックコンテクスト: [[Image:Role.gif]] コースブロック内の「ロールの割り当て」アイコン(編集モード)
*ブロックコンテクスト: コースブロック内の「ロールの割り当て」アイコン[[Image:Roles.gif]] (編集モード)
*ユーザコンテクスト: ユーザプロフィールページのロールタブ
*ユーザコンテクスト: ユーザプロフィールページのロールタブ



2007年6月6日 (水) 20:09時点における版

作成中です - Mitsuhiro Yoshida 2007年6月5日 (火) 11:32 (CDT)

ロケーション

  • システムコンテクスト: サイト管理 >> ユーザ >> パーミッション >> グローバルロールの割り当て
  • サイトコンテクスト: サイト管理 >> フロントページ >> フロントページロール
  • コースコンテクスト: コース管理ブロック内の「ロールの割り当て」リンク
  • モジュールコンテクスト: 活動編集ページのロールタブ
  • ブロックコンテクスト: コースブロック内の「ロールの割り当て」アイコンRoles.gif (編集モード)
  • ユーザコンテクスト: ユーザプロフィールページのロールタブ

コンテクスト

By assigning a role to a user in a certain context, you grant them the permissions contained in that role for the current context and all lower contexts.

The list of contexts in hierarchical order is as follows:

  • System (no parent)
  • Site (parent = system) - Moodle 1.8 onwards
  • Course category (parent = system)
  • Course (parent = course category or system)
  • Module (parent = course)
  • Block (parent = system or course)
  • User (parent = system)

Inheritance will kick in if a role is assigned at a higher level. For example if a user is assigned a Teacher role in a particular course category then the user will have this role in ALL courses within the category.

Roles will only work if the role assignment is made in the correct context. For example, a Teacher role should be assigned in the course or course category context, a Forum moderator for a particular forum should be assigned in the module context.

The Inspector role is an example of a role assigned in the system context. The Forum moderator role is an example of a role assigned in the module context. The Parent role is an example of a role assigned in the user context.

グローバルロール

Roles assigned in the site (1.7) or system context (1.8 onwards) are called global roles and apply across the entire site, including the front page. For example, a user assigned the global role of Teacher will have this role in every course on the site.

In many sites only admins and course creators will be assigned global roles.

The Demo teacher Restricted user role is an example of a global role.

ロールの割り当て

  1. Choose the type of role you wish to assign. For example, if we wanted to assign a Course Creator role to Ali, we'd choose "Course Creator" from the drop-down list. ("Course Creator" is one of the pre-defined role types that comes with Moodle - your installation may have a modified set of roles.)
  2. Once you have chosen a role, two lists appear: a list of users who currently have that role, and a list of users who don't. We can select Ali in the second list, and use the left-facing arrow button to add Ali's account to the list of Course Creators. Multiple users may be selected by holding down the Apple or Ctrl key whilst clicking on the users' names.
ファイル:Roles Assign Student.JPG
Assigning users the role of student i.e. enrolling them on the course

Hidden assignments

  • To hide which role a user is assigned to, click the Hidden assignments check box before assigning the role to the user.
  • This feature is useful for example if you don't want everyone with teacher rights listed in the course description.
  • Note: The role assignment is not hidden from admins or teachers i.e. users with the viewhiddenassigns capability.

関連情報