mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
moodler
committed
Oct 31, 2006
1 parent
cc1b52f
commit f750f10
Showing
6 changed files
with
172 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<p align="center"><b>Assigning Roles</b></p> | ||
|
||
<p> | ||
By assigning a role to a user in a context, you | ||
are granting them the permissions contained | ||
in that role, for the current context and all | ||
"lower" contexts. | ||
</p> | ||
|
||
<p> | ||
Contexts: | ||
<ol> | ||
<li>Site/System</li> | ||
<li>Course Categories</li> | ||
<li>Courses</li> | ||
<li>Blocks and Activities</li> | ||
</ol> | ||
</p> | ||
|
||
<p> | ||
So for example, if you grant a Student role to a | ||
user in a Course, they will have that role for | ||
the course, but also all Blocks and Activities inside | ||
that course. Their actual permissions may depend on | ||
other roles and overrides that have been defined. | ||
</p> | ||
|
||
<p> | ||
See also | ||
<a href="help.php?file=roles.html">Roles</a>, | ||
<a href="help.php?file=contexts.html">Contexts</a>, | ||
<a href="help.php?file=permissions.html">Permissions</a> and | ||
<a href="help.php?file=overrides.html">Overrides</a>. | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<p align="center"><b>Contexts</b></p> | ||
|
||
<p>Contexts are the "areas" in Moodle where roles | ||
can be assigned to people</p> | ||
|
||
<p>They are arranged in a hierarchical fashion, with permissions | ||
inherited from "higher" to "lower" contexts.</p> | ||
|
||
<ol> | ||
<li>Site (System)</li> | ||
<li>Course Categories</li> | ||
<li>Course Sub-categories</li> | ||
<li>Courses</li> | ||
<li>Blocks and Activities</li> | ||
</ol> | ||
</p> | ||
|
||
<p> | ||
See also | ||
<a href="help.php?file=roles.html">Roles</a>, | ||
<a href="help.php?file=permissions.html">Permissions</a>, | ||
<a href="help.php?file=assignroles.html">Assign Roles</a> and | ||
<a href="help.php?file=overrides.html">Overrides</a>. | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<p align="center"><b>Overrides</b></p> | ||
|
||
<p> | ||
Overrides are specific permissions designed to override a | ||
role in a specific context, allowing you to "tweak" your | ||
permissions as required. | ||
</p> | ||
|
||
<p> | ||
For example, if users with the role Student in your course | ||
can usually start new discussions in forums, but there is | ||
one particular forum for which you want to restrict that | ||
capability, then you can set an override that PREVENTS | ||
the capability for Students to "Start new discussions". | ||
</p> | ||
|
||
<p> | ||
Overrides can also be used to "open up" areas of your | ||
site and courses to give users extra permissions where | ||
it makes sense. For example, you may want to experiment | ||
giving Students the ability to grade some assignments. | ||
</p> | ||
|
||
<p> | ||
The interface is similar to the one for defining roles, | ||
except sometimes only relevant capabilities are shown, | ||
and you will also see some capabilities highlighted to | ||
show you what the permission for that role would be | ||
WITHOUT any override active (ie when your override is | ||
set to INHERIT). | ||
</p> | ||
|
||
|
||
<p> | ||
See also | ||
<a href="help.php?file=roles.html">Roles</a>, | ||
<a href="help.php?file=contexts.html">Contexts</a>, | ||
<a href="help.php?file=assignroles.html">Assign Roles</a> and | ||
<a href="help.php?file=permissions.html">Permissions</a>. | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<p align="center"><b>Roles</b></p> | ||
|
||
<p> | ||
A role is a collection of permissions defined for the whole site | ||
that you can assign to specific users in specific contexts. | ||
</p> | ||
|
||
<p> | ||
For example, you may have a Role called "Teacher" that is set up to | ||
allow teachers to do certain things (and not others). Once this role | ||
exists, you can assign it to someone in a course to make them a "Teacher" | ||
for that course. You could also assign the role to a user in the | ||
course category to make them a "Teacher" for all the courses under that | ||
category, or assign the role to a user just in a single forum, giving | ||
that user those capabilities just in that forum. | ||
<p> | ||
|
||
<p> | ||
A role must have a <strong>name</strong>. If you need to name the role for multiple | ||
languages you can use multilang syntax if you wish, such as <pre> | ||
<span lang="en">Teacher</span> | ||
<span lang="es_es">Profesor</span> | ||
</pre>If you do this make sure the setting to "filter strings" is on for your installation. | ||
</p> | ||
|
||
<p> | ||
The <strong>shortname</strong> is necessary for other plugins in Moodle that may need | ||
to refer to your Roles (eg when uploading users from a file or setting | ||
enrolments via an enrolment plugin). | ||
<p> | ||
|
||
<p> | ||
The <strong>description</strong> is simply to describe the role in your own words, so | ||
that everyone has a common understanding about the role. | ||
<p> | ||
|
||
<p> | ||
See also | ||
<a href="help.php?file=contexts.html">Contexts</a>, | ||
<a href="help.php?file=permissions.html">Permissions</a>, | ||
<a href="help.php?file=assignroles.html">Assign Roles</a> and | ||
<a href="help.php?file=overrides.html">Overrides</a>. | ||
</p> |