<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markpearson</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markpearson"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/Special:Contributions/Markpearson"/>
	<updated>2026-04-22T11:49:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:Assignment&amp;diff=32320</id>
		<title>Talk:Assignment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:Assignment&amp;diff=32320"/>
		<updated>2012-02-17T19:14:53Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Martin originally wrote: &lt;br /&gt;
&lt;br /&gt;
===Problem 1===&lt;br /&gt;
The four core subtypes we have are really confusing from a GUI point of view for new users, and are in fact all very similar.&lt;br /&gt;
&lt;br /&gt;
SOLUTION:&lt;br /&gt;
Collapse all these four into a single new assignment module that can support any or all of these at once:&lt;br /&gt;
* Teacher-written text to students &lt;br /&gt;
* Teacher-supplied files to students&lt;br /&gt;
* Student-written text for teacher&lt;br /&gt;
* Student-supplied files for teacher&lt;br /&gt;
&lt;br /&gt;
??Will the functionality of the &amp;quot;offline type&amp;quot; be retained??&lt;br /&gt;
- Grette&lt;br /&gt;
&lt;br /&gt;
===Problem 2===&lt;br /&gt;
The support of subtypes makes it slightly easier to write new assignment types but also makes them less flexible, and so people tend to create hacks.&lt;br /&gt;
&lt;br /&gt;
SOLUTION:&lt;br /&gt;
# Remove subtypes from the default assignment module and implement all core features as above.&lt;br /&gt;
# Allow normal activity modules to declare themselves as &amp;quot;Assignment&amp;quot; modules (similar to resource modules) so that the GUI can group them if required.&lt;br /&gt;
# Provide lib/assignmentlib.php with some core classes to help the migration of subtypes to become full modules.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand &amp;quot;Provide lib/assignmentlib.php with some core classes&amp;quot; in two ways: &lt;br /&gt;
- write the new Assignment module in a way that makes it possible to migrate an instance with the old four-pronged Assignment module. All migrated Assignment modules would turn into new Assignment modules with the appropriate settings. &lt;br /&gt;
OR&lt;br /&gt;
- make available a library with classes so that other modules that currently are not Assignment modules (&amp;quot;hacks&amp;quot;) to be upgraded to become Assignment modules as well. Examples for this would be the Mahara View Assignment and BIM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem 3===&lt;br /&gt;
We have no good support for team-based assignments.&lt;br /&gt;
&lt;br /&gt;
SOLUTION:&lt;br /&gt;
&lt;br /&gt;
# Support course groups and groupings. &lt;br /&gt;
# Add a switch to settings to &amp;quot;Enable team assignments&amp;quot; which will allow users in groups to share one file area and one text response per group.  &lt;br /&gt;
# Add good logging of changes made by the users.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem 4===&lt;br /&gt;
Implement web services for all functionality of Moodle to support LightWork and mobile&lt;br /&gt;
&lt;br /&gt;
== Comments on Use Case 1 : File upload assignment ==&lt;br /&gt;
# the default should be for the simplest case with a single file uploaded by a single respondent.&lt;br /&gt;
# the number of files required to upload should be clearly indicated on the submit page that the student uses (it is not displayed at all currently)&lt;br /&gt;
# I have have found the &#039;Send for marking&#039; to be rather confusing to both faculty and students.&lt;br /&gt;
Here&#039;s another option:&lt;br /&gt;
* Status flag / text on the submit screen &#039;&#039;&#039;DRAFT&#039;&#039;&#039; / &#039;&#039;&#039;SUBMITTED&#039;&#039;&#039;&lt;br /&gt;
* appropriate action button &#039;&#039;&#039;UPLOAD&#039;&#039;&#039; / &#039;&#039;&#039;SUBMIT&#039;&#039;&#039; / &#039;&#039;&#039;UPLOAD and SUBMIT&#039;&#039;&#039;&lt;br /&gt;
==== Simplest option: ====&lt;br /&gt;
Single file upload with the assignment configuration allowing no possibility for the student to delete or replace the uploaded file. The button would be [Upload and Submit] (a single action). Status flag shows &#039;Submitted&#039;.&lt;br /&gt;
&lt;br /&gt;
==== Upload and allow modify: ====&lt;br /&gt;
Initially the student would be presented with [Upload]. After a page refresh the display would show the file name (and perhaps creation date) together with a delete option and Draft status. The button would change to [Submit]. If the student wanted to upload a different version she would first delete the current draft file, and the button would change to [Upload]. Having submitted a file the status would change to &#039;Submitted&#039; and no action buttons would appear. Two button clicks and a page refresh in normal circumstances.&lt;br /&gt;
&lt;br /&gt;
--[[User:Mark Pearson 2|Mark Pearson 2]] 01:55, 18 February 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
== Comments on Use Case 5: Zip &amp;amp; download, offline marking ==&lt;br /&gt;
This workflow is brilliant. I especially like the ability to grade offline and then upload marked-up essays and the gradesheet -- super.&lt;br /&gt;
Just one suggestion:&lt;br /&gt;
* button labelled &amp;quot;Download submissions for offline marking&amp;quot;. Suggest changing to [Zip &amp;amp; Download] since this neatly summarizes the essential action involved.&lt;br /&gt;
&lt;br /&gt;
--[[User:Mark Pearson 2|Mark Pearson 2]] 03:14, 18 February 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
== Project meetings ==&lt;br /&gt;
&lt;br /&gt;
==Assignment Module Redevelopment meetings==&lt;br /&gt;
The NetSpot development team will use this space to document notes from meetings as they happen.&lt;br /&gt;
===Meeting 1 - 22 Nov 2011===&lt;br /&gt;
Project team:&lt;br /&gt;
* Mark Drechsler - NetSpot project sponsor&lt;br /&gt;
* Damyon Weise - Lead developer&lt;br /&gt;
* Victor Herrera - Project Manager&lt;br /&gt;
* Ashley Holman - Code Architect, all round good guy&lt;br /&gt;
* Minh-Tam Nguyen - Functional Consultant&lt;br /&gt;
* Plus future input from the consortium of Australian universities who will support NetSpot&#039;s development effort through a range of means. Details to be added soon.&lt;br /&gt;
&lt;br /&gt;
First step is to establish the functional specification for the &#039;bare minimum&#039; of changes needed to meet the design goals listed by Moodle HQ. Once we have these we can start to look in more detail at the requirements of the Consortium and see how many of these are feasible and how many overlap with existing Tracker &#039;wish list&#039; items from the broader community.&lt;br /&gt;
&lt;br /&gt;
Project team will be meeting regularly in the lead up to Xmas 2011 to try and be ready to hit some development tasks in early 2012.&lt;br /&gt;
&lt;br /&gt;
===Meeting - 20 Dec 2011===&lt;br /&gt;
Mark Drechsler, Damyon Weise, Victor Herrera, Minh-Tam Nguyen&lt;br /&gt;
* code freeze for 2.3 is 01/May/2012 so scope has to be set appropriately. Not everything can be done. A line was drawn.&lt;br /&gt;
* Damyon to estimate work required for features currently listed as in scope, then work with Vic to get a project schedule. &lt;br /&gt;
* a git repo and a demo Moodle instance will be made available&lt;br /&gt;
* work to start on critical features&lt;br /&gt;
&lt;br /&gt;
== Anonymous marking and Blind marking ==&lt;br /&gt;
&lt;br /&gt;
both terms &amp;quot;Anonymous marking&amp;quot; and &amp;quot;blind marking&amp;quot; are used in various wish lists and documents I have been given, with Anonymous marking referring to both hidden student identities and hidden marker identities. &lt;br /&gt;
I believe that the language used here needs to be decided on. Any suggestions? - Minh-Tam&lt;br /&gt;
&lt;br /&gt;
I think they both refer to the same thing except that blind marking is more common when talking about &amp;quot;Double Blind&amp;quot; marking (which would be a nice feature!) - Damyon&lt;br /&gt;
&lt;br /&gt;
My interpretation is:&lt;br /&gt;
Blind marking - the identity of the author (or student) is hidden from the marker&lt;br /&gt;
Anonymous marking - the identity of the marker is hidden from the student&lt;br /&gt;
Double marking - the work can be marked by more than one person (usually two) - identities of all parties is known to all&lt;br /&gt;
Double blind marking - the work can be marked by more than one person but the identity of the author/student is hidden from both markers&lt;br /&gt;
- Grette&lt;br /&gt;
&lt;br /&gt;
Thanks Grette, Damyon and Drex for your contribution. I think from this point on we should go with Grette&#039;s definition above: &lt;br /&gt;
* Blind means the student&#039;s identity is hidden. &lt;br /&gt;
* Anonymous means the marker&#039;s identity is hidden. &lt;br /&gt;
--[[User:Minh-Tam Nguyen|Minh-Tam Nguyen]] 06:19, 22 December 2011 (WST)&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Talk:Assignment&amp;diff=32319</id>
		<title>Talk:Assignment</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Talk:Assignment&amp;diff=32319"/>
		<updated>2012-02-17T17:55:02Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Martin originally wrote: &lt;br /&gt;
&lt;br /&gt;
===Problem 1===&lt;br /&gt;
The four core subtypes we have are really confusing from a GUI point of view for new users, and are in fact all very similar.&lt;br /&gt;
&lt;br /&gt;
SOLUTION:&lt;br /&gt;
Collapse all these four into a single new assignment module that can support any or all of these at once:&lt;br /&gt;
* Teacher-written text to students &lt;br /&gt;
* Teacher-supplied files to students&lt;br /&gt;
* Student-written text for teacher&lt;br /&gt;
* Student-supplied files for teacher&lt;br /&gt;
&lt;br /&gt;
??Will the functionality of the &amp;quot;offline type&amp;quot; be retained??&lt;br /&gt;
- Grette&lt;br /&gt;
&lt;br /&gt;
===Problem 2===&lt;br /&gt;
The support of subtypes makes it slightly easier to write new assignment types but also makes them less flexible, and so people tend to create hacks.&lt;br /&gt;
&lt;br /&gt;
SOLUTION:&lt;br /&gt;
# Remove subtypes from the default assignment module and implement all core features as above.&lt;br /&gt;
# Allow normal activity modules to declare themselves as &amp;quot;Assignment&amp;quot; modules (similar to resource modules) so that the GUI can group them if required.&lt;br /&gt;
# Provide lib/assignmentlib.php with some core classes to help the migration of subtypes to become full modules.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand &amp;quot;Provide lib/assignmentlib.php with some core classes&amp;quot; in two ways: &lt;br /&gt;
- write the new Assignment module in a way that makes it possible to migrate an instance with the old four-pronged Assignment module. All migrated Assignment modules would turn into new Assignment modules with the appropriate settings. &lt;br /&gt;
OR&lt;br /&gt;
- make available a library with classes so that other modules that currently are not Assignment modules (&amp;quot;hacks&amp;quot;) to be upgraded to become Assignment modules as well. Examples for this would be the Mahara View Assignment and BIM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem 3===&lt;br /&gt;
We have no good support for team-based assignments.&lt;br /&gt;
&lt;br /&gt;
SOLUTION:&lt;br /&gt;
&lt;br /&gt;
# Support course groups and groupings. &lt;br /&gt;
# Add a switch to settings to &amp;quot;Enable team assignments&amp;quot; which will allow users in groups to share one file area and one text response per group.  &lt;br /&gt;
# Add good logging of changes made by the users.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Problem 4===&lt;br /&gt;
Implement web services for all functionality of Moodle to support LightWork and mobile&lt;br /&gt;
&lt;br /&gt;
== Comments on Use Case 1 : File upload assignment ==&lt;br /&gt;
# the default should be for the simplest case with a single file uploaded by a single respondent.&lt;br /&gt;
# the number of files required to upload should be clearly indicated on the submit page that the student uses (it is not displayed at all currently)&lt;br /&gt;
# I have have found the &#039;Send for marking&#039; to be rather confusing to both faculty and students.&lt;br /&gt;
Here&#039;s another option:&lt;br /&gt;
* Status flag / text on the submit screen &#039;&#039;&#039;DRAFT&#039;&#039;&#039; / &#039;&#039;&#039;SUBMITTED&#039;&#039;&#039;&lt;br /&gt;
* appropriate action button &#039;&#039;&#039;UPLOAD&#039;&#039;&#039; / &#039;&#039;&#039;SUBMIT&#039;&#039;&#039; / &#039;&#039;&#039;UPLOAD and SUBMIT&#039;&#039;&#039;&lt;br /&gt;
==== Simplest option: ====&lt;br /&gt;
Single file upload with the assignment configuration allowing no possibility for the student to delete or replace the uploaded file. The button would be [Upload and Submit] (a single action). Status flag shows &#039;Submitted&#039;.&lt;br /&gt;
&lt;br /&gt;
==== Upload and allow modify: ====&lt;br /&gt;
Initially the student would be presented with [Upload]. After a page refresh the display would show the file name (and perhaps creation date) together with a delete option and Draft status. The button would change to [Submit]. If the student wanted to upload a different version she would first delete the current draft file, and the button would change to [Upload]. Having submitted a file the status would change to &#039;Submitted&#039; and no action buttons would appear. Two button clicks and a page refresh in normal circumstances.&lt;br /&gt;
&lt;br /&gt;
--[[User:Mark Pearson 2|Mark Pearson 2]] 01:55, 18 February 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
== Project meetings ==&lt;br /&gt;
&lt;br /&gt;
==Assignment Module Redevelopment meetings==&lt;br /&gt;
The NetSpot development team will use this space to document notes from meetings as they happen.&lt;br /&gt;
===Meeting 1 - 22 Nov 2011===&lt;br /&gt;
Project team:&lt;br /&gt;
* Mark Drechsler - NetSpot project sponsor&lt;br /&gt;
* Damyon Weise - Lead developer&lt;br /&gt;
* Victor Herrera - Project Manager&lt;br /&gt;
* Ashley Holman - Code Architect, all round good guy&lt;br /&gt;
* Minh-Tam Nguyen - Functional Consultant&lt;br /&gt;
* Plus future input from the consortium of Australian universities who will support NetSpot&#039;s development effort through a range of means. Details to be added soon.&lt;br /&gt;
&lt;br /&gt;
First step is to establish the functional specification for the &#039;bare minimum&#039; of changes needed to meet the design goals listed by Moodle HQ. Once we have these we can start to look in more detail at the requirements of the Consortium and see how many of these are feasible and how many overlap with existing Tracker &#039;wish list&#039; items from the broader community.&lt;br /&gt;
&lt;br /&gt;
Project team will be meeting regularly in the lead up to Xmas 2011 to try and be ready to hit some development tasks in early 2012.&lt;br /&gt;
&lt;br /&gt;
===Meeting - 20 Dec 2011===&lt;br /&gt;
Mark Drechsler, Damyon Weise, Victor Herrera, Minh-Tam Nguyen&lt;br /&gt;
* code freeze for 2.3 is 01/May/2012 so scope has to be set appropriately. Not everything can be done. A line was drawn.&lt;br /&gt;
* Damyon to estimate work required for features currently listed as in scope, then work with Vic to get a project schedule. &lt;br /&gt;
* a git repo and a demo Moodle instance will be made available&lt;br /&gt;
* work to start on critical features&lt;br /&gt;
&lt;br /&gt;
== Anonymous marking and Blind marking ==&lt;br /&gt;
&lt;br /&gt;
both terms &amp;quot;Anonymous marking&amp;quot; and &amp;quot;blind marking&amp;quot; are used in various wish lists and documents I have been given, with Anonymous marking referring to both hidden student identities and hidden marker identities. &lt;br /&gt;
I believe that the language used here needs to be decided on. Any suggestions? - Minh-Tam&lt;br /&gt;
&lt;br /&gt;
I think they both refer to the same thing except that blind marking is more common when talking about &amp;quot;Double Blind&amp;quot; marking (which would be a nice feature!) - Damyon&lt;br /&gt;
&lt;br /&gt;
My interpretation is:&lt;br /&gt;
Blind marking - the identity of the author (or student) is hidden from the marker&lt;br /&gt;
Anonymous marking - the identity of the marker is hidden from the student&lt;br /&gt;
Double marking - the work can be marked by more than one person (usually two) - identities of all parties is known to all&lt;br /&gt;
Double blind marking - the work can be marked by more than one person but the identity of the author/student is hidden from both markers&lt;br /&gt;
- Grette&lt;br /&gt;
&lt;br /&gt;
Thanks Grette, Damyon and Drex for your contribution. I think from this point on we should go with Grette&#039;s definition above: &lt;br /&gt;
* Blind means the student&#039;s identity is hidden. &lt;br /&gt;
* Anonymous means the marker&#039;s identity is hidden. &lt;br /&gt;
--[[User:Minh-Tam Nguyen|Minh-Tam Nguyen]] 06:19, 22 December 2011 (WST)&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=User:Frank_Ralf/Moodle_forms1&amp;diff=21747</id>
		<title>User:Frank Ralf/Moodle forms1</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=User:Frank_Ralf/Moodle_forms1&amp;diff=21747"/>
		<updated>2010-01-18T18:21:26Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Read the whole story:&lt;br /&gt;
&lt;br /&gt;
# [[User:Frank_Ralf/Moodle_forms1| Inconsistencies of Moodle forms]]&lt;br /&gt;
# [[User:Frank_Ralf/Moodle_forms2| formslib - Checkboxes: A case of &amp;quot;Divitis&amp;quot;?]] aka [[User:Frank Ralf/Semantic HTML5]]&lt;br /&gt;
# [[User:Frank_Ralf/Moodle_forms3| Moodle forms - A peek under the hood]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Inconsistencies of Moodle forms ==&lt;br /&gt;
&lt;br /&gt;
For the time being this is only a list of inconsistencies I noticed when working with different Moodle forms. I hope to find time to make some suggestions for improvements.&lt;br /&gt;
&lt;br /&gt;
== Yes/no dropdown menus ==&lt;br /&gt;
&lt;br /&gt;
Moodle uses quite a lot of dropdown menus for yes/no questions. These require (at least) two mouse clicks for selecting an option. Therefore alternatives like a simple checkbox or radio buttons would make for better usability and avoid some inconsistencies in the Moodle UI (see screenshot).&lt;br /&gt;
&lt;br /&gt;
Further information:&lt;br /&gt;
* [http://www.idrawboxes.com/2008/yes-no-questions-dropdown-radio-buttons-or-checkbox/ &amp;quot;Yes/no questions: dropdown, radio buttons or checkbox?&amp;quot;] &lt;br /&gt;
* [http://www.isocra.com/2008/02/poll-a-yesno-question-in-a-web-form-which-controls-would-you-use/ &amp;quot;Poll: A yes/no question in a web form, which control(s) would you use?&amp;quot;]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=126481 General Developer forum thread]&lt;br /&gt;
&lt;br /&gt;
[[Image:Yes-No vs checkbox.png]]&lt;br /&gt;
&lt;br /&gt;
== Checkboxes ==&lt;br /&gt;
&lt;br /&gt;
You tick a checkbox to activate a feature and you untick it for deactivating - or was it the other way round...? &lt;br /&gt;
&lt;br /&gt;
=== Quiz settings ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Quiz settings Check for disabling.png]]&lt;br /&gt;
: This one was fixed in Moodle 2.0--[[User:Tim Hunt|Tim Hunt]] 00:44, 30 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
* The checkboxes should be on the left. That way no additional prompt would be necessary and accessibility (especially for screen readers) would improve.&lt;br /&gt;
&lt;br /&gt;
: This would break the alignment of the form. Suppose you had an optional date followed by a non-optional date - it would be useful if the sub-fields lined up, so you could easily see whether the second date was 7 days after the first. I also think it would be better to have the checkbox first, I am just saying it is not as simple as that.--[[User:Tim Hunt|Tim Hunt]] 00:44, 30 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: Thanks for the feedback, Tim. Will try to keep track of all the new developments! The problem with aligning form elements is that they all are usually treated as block level elements. I suppose one could try using &amp;quot;display: inline;&amp;quot; to get around that limitation but haven&#039;t tried this yet. --[[User:Frank Ralf|Frank Ralf]] 12:39, 30 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=== AJAX and JavaScript ===&lt;br /&gt;
&lt;br /&gt;
Another example (Moodle 2.0 dev, Build: 20090720)&lt;br /&gt;
&lt;br /&gt;
[[Image:2009-07-20 Moodle and JavaScript.png]]&lt;br /&gt;
&lt;br /&gt;
This form should better look similar to this mockup:&lt;br /&gt;
&lt;br /&gt;
[[Image:AJAX and JavaScript improved.png]]&lt;br /&gt;
&lt;br /&gt;
: I definitely agree with this latter suggestion. Many times I have to wrestle with double-negative type logic such as disabling the prevention of some function (eg allow late submissions) --[[User:Mark Pearson 2|Mark Pearson 2]] 18:19, 18 January 2010 (UTC)&lt;br /&gt;
== See also ==&lt;br /&gt;
[TODO]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=User:Frank_Ralf/Moodle_forms1&amp;diff=21746</id>
		<title>User:Frank Ralf/Moodle forms1</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=User:Frank_Ralf/Moodle_forms1&amp;diff=21746"/>
		<updated>2010-01-18T18:19:46Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Read the whole story:&lt;br /&gt;
&lt;br /&gt;
# [[User:Frank_Ralf/Moodle_forms1| Inconsistencies of Moodle forms]]&lt;br /&gt;
# [[User:Frank_Ralf/Moodle_forms2| formslib - Checkboxes: A case of &amp;quot;Divitis&amp;quot;?]] aka [[User:Frank Ralf/Semantic HTML5]]&lt;br /&gt;
# [[User:Frank_Ralf/Moodle_forms3| Moodle forms - A peek under the hood]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Inconsistencies of Moodle forms ==&lt;br /&gt;
&lt;br /&gt;
For the time being this is only a list of inconsistencies I noticed when working with different Moodle forms. I hope to find time to make some suggestions for improvements.&lt;br /&gt;
&lt;br /&gt;
== Yes/no dropdown menus ==&lt;br /&gt;
&lt;br /&gt;
Moodle uses quite a lot of dropdown menus for yes/no questions. These require (at least) two mouse clicks for selecting an option. Therefore alternatives like a simple checkbox or radio buttons would make for better usability and avoid some inconsistencies in the Moodle UI (see screenshot).&lt;br /&gt;
&lt;br /&gt;
Further information:&lt;br /&gt;
* [http://www.idrawboxes.com/2008/yes-no-questions-dropdown-radio-buttons-or-checkbox/ &amp;quot;Yes/no questions: dropdown, radio buttons or checkbox?&amp;quot;] &lt;br /&gt;
* [http://www.isocra.com/2008/02/poll-a-yesno-question-in-a-web-form-which-controls-would-you-use/ &amp;quot;Poll: A yes/no question in a web form, which control(s) would you use?&amp;quot;]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=126481 General Developer forum thread]&lt;br /&gt;
&lt;br /&gt;
[[Image:Yes-No vs checkbox.png]]&lt;br /&gt;
&lt;br /&gt;
== Checkboxes ==&lt;br /&gt;
&lt;br /&gt;
You tick a checkbox to activate a feature and you untick it for deactivating - or was it the other way round...? &lt;br /&gt;
&lt;br /&gt;
=== Quiz settings ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Quiz settings Check for disabling.png]]&lt;br /&gt;
: This one was fixed in Moodle 2.0--[[User:Tim Hunt|Tim Hunt]] 00:44, 30 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
* The checkboxes should be on the left. That way no additional prompt would be necessary and accessibility (especially for screen readers) would improve.&lt;br /&gt;
&lt;br /&gt;
: This would break the alignment of the form. Suppose you had an optional date followed by a non-optional date - it would be useful if the sub-fields lined up, so you could easily see whether the second date was 7 days after the first. I also think it would be better to have the checkbox first, I am just saying it is not as simple as that.--[[User:Tim Hunt|Tim Hunt]] 00:44, 30 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
:: Thanks for the feedback, Tim. Will try to keep track of all the new developments! The problem with aligning form elements is that they all are usually treated as block level elements. I suppose one could try using &amp;quot;display: inline;&amp;quot; to get around that limitation but haven&#039;t tried this yet. --[[User:Frank Ralf|Frank Ralf]] 12:39, 30 June 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
=== AJAX and JavaScript ===&lt;br /&gt;
&lt;br /&gt;
Another example (Moodle 2.0 dev, Build: 20090720)&lt;br /&gt;
&lt;br /&gt;
[[Image:2009-07-20 Moodle and JavaScript.png]]&lt;br /&gt;
&lt;br /&gt;
This form should better look similar to this mockup:&lt;br /&gt;
&lt;br /&gt;
[[Image:AJAX and JavaScript improved.png]]&lt;br /&gt;
&lt;br /&gt;
: I definitely agree with this latter suggestion. Many times I have to wrestle with double-negative type logic such as disabling the prevention of some function (eg allow late submissions)&lt;br /&gt;
--[[User:Mark Pearson 2|Mark Pearson 2]] 18:19, 18 January 2010 (UTC)&lt;br /&gt;
== See also ==&lt;br /&gt;
[TODO]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3921</id>
		<title>Blogs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3921"/>
		<updated>2007-01-10T17:57:26Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Blogs and Tagging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Blogs Wishlist==&lt;br /&gt;
Its great to have blogs on Moodle, but we should expect more of Moodle&#039;s blogs. Let&#039;s make a wishlist.&lt;br /&gt;
=== How do I link to a specific Blog entry ? ===&lt;br /&gt;
The so called blogosphere bores out of the inter-linking between blog entries, but right now you don&#039;t know how to link to a concrete blog entry. Blog entries should have a link to refer themselves. We can only link user&#039;s blogs to categories.&lt;br /&gt;
&lt;br /&gt;
=== Blog entry resume ===&lt;br /&gt;
A view of the blogs entries that gives only 3-5 lines of the blog entry, so a reader can view a lot of entries on one site and click on a &amp;quot;continue reading&amp;quot; link or so on.&lt;br /&gt;
&lt;br /&gt;
=== Block Blog Tools === &lt;br /&gt;
Some blog tools to view blog entries that wolud be nice to have:&lt;br /&gt;
* Last Blog entries.&lt;br /&gt;
** per user&lt;br /&gt;
** per category&lt;br /&gt;
** per course&lt;br /&gt;
** per site&lt;br /&gt;
* Blog search &lt;br /&gt;
* Most readed, commented voted blog entries ( and vote for blog entry, of course )&lt;br /&gt;
&lt;br /&gt;
=== Blogs as course activities? ===&lt;br /&gt;
[[Blogs]] were touted as replacing the [[Journal]] activity, which was a course level activity for reflective writing etc. The blogs system as of v1.6 seems to remove blogs from the context of courses (excluding course-level tags) even though they can be accessed from within the course through the Blogs block. The admininstration of blogs seems to be a rather broad brush - once the settings are specified centrally on the server they can&#039;t be modified. A vision for this might be:&lt;br /&gt;
* Blog as an [[Activity]] in a course&lt;br /&gt;
** Teacher able to set up blog with various parameters and should be able to:&lt;br /&gt;
*** Specifiy a timeframe for when blog needs to be posted. How would this work? Suggest a label with posting date and make the date red if it&#039;s after the due date/time.&lt;br /&gt;
*** Label all posts in response to this activity with certain tags. Implement an RSS feed for each tag to aggregate all blog postings with that tag.&lt;br /&gt;
*** Decide whether this particular blog activity is visible to course/group/institution/teacher &amp;amp; pupil only/the wider world. In other words, set default posting permission on the student&#039;s blog entry associated with this Activity (should be fun to implement :-). Should this be changeable by the student? Eg if the student wants her posting viewed by the world, then why not?&lt;br /&gt;
*** Should this be an assessed activity? If it&#039;s really replacing Journal, then almost certainly... Could use a similar system to Forums.&lt;br /&gt;
** Blog posts which come out of this activity should be part of the user&#039;s wider personal blog&lt;br /&gt;
** If comments do happen on blogs, then each course-centred blog should be able to accept comments just from teachers, from peers, or from no-one&lt;br /&gt;
** Commenting parameters. A &#039;Blogging Activity&#039; could ask for 1 posting and 3 comments on other blogs per student. When making a comment on another student&#039;s blog entry the student would have to choose a specific comment tag generated from this assignment from a pulldown list. Then an RSS feed for this tag could be aggregated into a single box for quick checking by the Teacher.&lt;br /&gt;
&lt;br /&gt;
=== Post-forum binding or comments allowed. We want feedback on blog posts. Its a must! ===&lt;br /&gt;
&lt;br /&gt;
Comments and trackbacks were present in the alpha/beta blog code developed by Daryl Hawes ([http://www.earlham.edu/~markp/it/archives/004195.html IT@EC April 05 blog entry]), so, in principle, the code should be there to deploy. Daryl coined a clever term for trackbacks &amp;quot;inform sites I have linked to that I have linked to them&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If commenting is implemented, then trackbacks should be too so that students can make thoughtful responses to each other&#039;s blog entries and still have them present in their own blog environment.&lt;br /&gt;
&lt;br /&gt;
== Blogs and Tagging ==&lt;br /&gt;
&lt;br /&gt;
Should tagging just apply to blog posts? I&#039;d like to see the notion of user tagging percolate throughout the whole of Moodle. Wouldn&#039;t it be great to tag [[Resources]] and then aggregate an RSS feed of tagged items. If keyword/tag were a universal epistemological asset within Moodle then the possibilities for leveraging via RSS feeds would be boundless. Think about the pedagogical possibilities of aggregating all objects tagged with a certain tag -- then you&#039;d have some real connections made!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Blog]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3920</id>
		<title>Blogs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3920"/>
		<updated>2007-01-10T17:31:20Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Blogs and Tagging */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Blogs Wishlist==&lt;br /&gt;
Its great to have blogs on Moodle, but we should expect more of Moodle&#039;s blogs. Let&#039;s make a wishlist.&lt;br /&gt;
=== How do I link to a specific Blog entry ? ===&lt;br /&gt;
The so called blogosphere bores out of the inter-linking between blog entries, but right now you don&#039;t know how to link to a concrete blog entry. Blog entries should have a link to refer themselves. We can only link user&#039;s blogs to categories.&lt;br /&gt;
&lt;br /&gt;
=== Blog entry resume ===&lt;br /&gt;
A view of the blogs entries that gives only 3-5 lines of the blog entry, so a reader can view a lot of entries on one site and click on a &amp;quot;continue reading&amp;quot; link or so on.&lt;br /&gt;
&lt;br /&gt;
=== Block Blog Tools === &lt;br /&gt;
Some blog tools to view blog entries that wolud be nice to have:&lt;br /&gt;
* Last Blog entries.&lt;br /&gt;
** per user&lt;br /&gt;
** per category&lt;br /&gt;
** per course&lt;br /&gt;
** per site&lt;br /&gt;
* Blog search &lt;br /&gt;
* Most readed, commented voted blog entries ( and vote for blog entry, of course )&lt;br /&gt;
&lt;br /&gt;
=== Blogs as course activities? ===&lt;br /&gt;
[[Blogs]] were touted as replacing the [[Journal]] activity, which was a course level activity for reflective writing etc. The blogs system as of v1.6 seems to remove blogs from the context of courses (excluding course-level tags) even though they can be accessed from within the course through the Blogs block. The admininstration of blogs seems to be a rather broad brush - once the settings are specified centrally on the server they can&#039;t be modified. A vision for this might be:&lt;br /&gt;
* Blog as an [[Activity]] in a course&lt;br /&gt;
** Teacher able to set up blog with various parameters and should be able to:&lt;br /&gt;
*** Specifiy a timeframe for when blog needs to be posted. How would this work? Suggest a label with posting date and make the date red if it&#039;s after the due date/time.&lt;br /&gt;
*** Label all posts in response to this activity with certain tags. Implement an RSS feed for each tag to aggregate all blog postings with that tag.&lt;br /&gt;
*** Decide whether this particular blog activity is visible to course/group/institution/teacher &amp;amp; pupil only/the wider world. In other words, set default posting permission on the student&#039;s blog entry associated with this Activity (should be fun to implement :-). Should this be changeable by the student? Eg if the student wants her posting viewed by the world, then why not?&lt;br /&gt;
*** Should this be an assessed activity? If it&#039;s really replacing Journal, then almost certainly... Could use a similar system to Forums.&lt;br /&gt;
** Blog posts which come out of this activity should be part of the user&#039;s wider personal blog&lt;br /&gt;
** If comments do happen on blogs, then each course-centred blog should be able to accept comments just from teachers, from peers, or from no-one&lt;br /&gt;
** Commenting parameters. A &#039;Blogging Activity&#039; could ask for 1 posting and 3 comments on other blogs per student. When making a comment on another student&#039;s blog entry the student would have to choose a specific comment tag generated from this assignment from a pulldown list. Then an RSS feed for this tag could be aggregated into a single box for quick checking by the Teacher.&lt;br /&gt;
&lt;br /&gt;
=== Post-forum binding or comments allowed. We want feedback on blog posts. Its a must! ===&lt;br /&gt;
&lt;br /&gt;
Comments and trackbacks were present in the alpha/beta blog code developed by Daryl Hawes ([http://www.earlham.edu/~markp/it/archives/004195.html IT@EC April 05 blog entry]), so, in principle, the code should be there to deploy. Daryl coined a clever term for trackbacks &amp;quot;inform sites I have linked to that I have linked to them&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If commenting is implemented, then trackbacks should be too so that students can make thoughtful responses to each other&#039;s blog entries and still have them present in their own blog environment.&lt;br /&gt;
&lt;br /&gt;
== Blogs and Tagging ==&lt;br /&gt;
&lt;br /&gt;
Should tagging just apply to blog posts? I&#039;d like to see the notion of user tagging percolate throughout the whole of Moodle. Wouldn&#039;t it be great to tag [[Resources]] and then aggregate an RSS feed of tagged items. If keyword/tag is a universal epistemological asset within Moodle then the possibilities for leveraging via RSS feeds are endless. Also, think of the pedagogical possibilities of aggregating all objects tagged with a certain tag.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Blog]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3919</id>
		<title>Blogs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3919"/>
		<updated>2007-01-10T17:30:46Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Blogs Wishlist */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Blogs Wishlist==&lt;br /&gt;
Its great to have blogs on Moodle, but we should expect more of Moodle&#039;s blogs. Let&#039;s make a wishlist.&lt;br /&gt;
=== How do I link to a specific Blog entry ? ===&lt;br /&gt;
The so called blogosphere bores out of the inter-linking between blog entries, but right now you don&#039;t know how to link to a concrete blog entry. Blog entries should have a link to refer themselves. We can only link user&#039;s blogs to categories.&lt;br /&gt;
&lt;br /&gt;
=== Blog entry resume ===&lt;br /&gt;
A view of the blogs entries that gives only 3-5 lines of the blog entry, so a reader can view a lot of entries on one site and click on a &amp;quot;continue reading&amp;quot; link or so on.&lt;br /&gt;
&lt;br /&gt;
=== Block Blog Tools === &lt;br /&gt;
Some blog tools to view blog entries that wolud be nice to have:&lt;br /&gt;
* Last Blog entries.&lt;br /&gt;
** per user&lt;br /&gt;
** per category&lt;br /&gt;
** per course&lt;br /&gt;
** per site&lt;br /&gt;
* Blog search &lt;br /&gt;
* Most readed, commented voted blog entries ( and vote for blog entry, of course )&lt;br /&gt;
&lt;br /&gt;
=== Blogs as course activities? ===&lt;br /&gt;
[[Blogs]] were touted as replacing the [[Journal]] activity, which was a course level activity for reflective writing etc. The blogs system as of v1.6 seems to remove blogs from the context of courses (excluding course-level tags) even though they can be accessed from within the course through the Blogs block. The admininstration of blogs seems to be a rather broad brush - once the settings are specified centrally on the server they can&#039;t be modified. A vision for this might be:&lt;br /&gt;
* Blog as an [[Activity]] in a course&lt;br /&gt;
** Teacher able to set up blog with various parameters and should be able to:&lt;br /&gt;
*** Specifiy a timeframe for when blog needs to be posted. How would this work? Suggest a label with posting date and make the date red if it&#039;s after the due date/time.&lt;br /&gt;
*** Label all posts in response to this activity with certain tags. Implement an RSS feed for each tag to aggregate all blog postings with that tag.&lt;br /&gt;
*** Decide whether this particular blog activity is visible to course/group/institution/teacher &amp;amp; pupil only/the wider world. In other words, set default posting permission on the student&#039;s blog entry associated with this Activity (should be fun to implement :-). Should this be changeable by the student? Eg if the student wants her posting viewed by the world, then why not?&lt;br /&gt;
*** Should this be an assessed activity? If it&#039;s really replacing Journal, then almost certainly... Could use a similar system to Forums.&lt;br /&gt;
** Blog posts which come out of this activity should be part of the user&#039;s wider personal blog&lt;br /&gt;
** If comments do happen on blogs, then each course-centred blog should be able to accept comments just from teachers, from peers, or from no-one&lt;br /&gt;
** Commenting parameters. A &#039;Blogging Activity&#039; could ask for 1 posting and 3 comments on other blogs per student. When making a comment on another student&#039;s blog entry the student would have to choose a specific comment tag generated from this assignment from a pulldown list. Then an RSS feed for this tag could be aggregated into a single box for quick checking by the Teacher.&lt;br /&gt;
&lt;br /&gt;
=== Post-forum binding or comments allowed. We want feedback on blog posts. Its a must! ===&lt;br /&gt;
&lt;br /&gt;
Comments and trackbacks were present in the alpha/beta blog code developed by Daryl Hawes ([http://www.earlham.edu/~markp/it/archives/004195.html IT@EC April 05 blog entry]), so, in principle, the code should be there to deploy. Daryl coined a clever term for trackbacks &amp;quot;inform sites I have linked to that I have linked to them&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If commenting is implemented, then trackbacks should be too so that students can make thoughtful responses to each other&#039;s blog entries and still have them present in their own blog environment.&lt;br /&gt;
&lt;br /&gt;
=== Blogs and Tagging ===&lt;br /&gt;
&lt;br /&gt;
Should tagging just apply to blog posts? I&#039;d like to see the notion of user tagging percolate throughout the whole of Moodle. Wouldn&#039;t it be great to tag [[Resources]] and then aggregate an RSS feed of tagged items. If keyword/tag is a universal epistemological asset within Moodle then the possibilities for leveraging via RSS feeds are endless. Also, think of the pedagogical possibilities of aggregating all objects tagged with a certain tag.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Blog]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3918</id>
		<title>Blogs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3918"/>
		<updated>2007-01-10T17:04:18Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Post-forum binding or comments allowed. We want feedback on blog posts. Its a must! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Blogs Wishlist==&lt;br /&gt;
Its great to have blogs on Moodle, but we should expect more of Moodle&#039;s blogs. Let&#039;s make a wishlist.&lt;br /&gt;
=== How do I link to a specific Blog entry ? ===&lt;br /&gt;
The so called blogosphere bores out of the inter-linking between blog entries, but right now you don&#039;t know how to link to a concrete blog entry. Blog entries should have a link to refer themselves. We can only link user&#039;s blogs to categories.&lt;br /&gt;
&lt;br /&gt;
=== Blog entry resume ===&lt;br /&gt;
A view of the blogs entries that gives only 3-5 lines of the blog entry, so a reader can view a lot of entries on one site and click on a &amp;quot;continue reading&amp;quot; link or so on.&lt;br /&gt;
&lt;br /&gt;
=== Block Blog Tools === &lt;br /&gt;
Some blog tools to view blog entries that wolud be nice to have:&lt;br /&gt;
* Last Blog entries.&lt;br /&gt;
** per user&lt;br /&gt;
** per category&lt;br /&gt;
** per course&lt;br /&gt;
** per site&lt;br /&gt;
* Blog search &lt;br /&gt;
* Most readed, commented voted blog entries ( and vote for blog entry, of course )&lt;br /&gt;
&lt;br /&gt;
=== Blogs as course activities? ===&lt;br /&gt;
[[Blogs]] were touted as replacing the [[Journal]] activity, which was a course level activity for reflective writing etc. The blogs system as of v1.6 seems to remove blogs from the context of courses (excluding course-level tags) even though they can be accessed from within the course through the Blogs block. The admininstration of blogs seems to be a rather broad brush - once the settings are specified centrally on the server they can&#039;t be modified. A vision for this might be:&lt;br /&gt;
* Blog as an [[Activity]] in a course&lt;br /&gt;
** Teacher able to set up blog with various parameters and should be able to:&lt;br /&gt;
*** Specifiy a timeframe for when blog needs to be posted. How would this work? Suggest a label with posting date and make the date red if it&#039;s after the due date/time.&lt;br /&gt;
*** Label all posts in response to this activity with certain tags. Implement an RSS feed for each tag to aggregate all blog postings with that tag.&lt;br /&gt;
*** Decide whether this particular blog activity is visible to course/group/institution/teacher &amp;amp; pupil only/the wider world. In other words, set default posting permission on the student&#039;s blog entry associated with this Activity (should be fun to implement :-). Should this be changeable by the student? Eg if the student wants her posting viewed by the world, then why not?&lt;br /&gt;
*** Should this be an assessed activity? If it&#039;s really replacing Journal, then almost certainly... Could use a similar system to Forums.&lt;br /&gt;
** Blog posts which come out of this activity should be part of the user&#039;s wider personal blog&lt;br /&gt;
** If comments do happen on blogs, then each course-centred blog should be able to accept comments just from teachers, from peers, or from no-one&lt;br /&gt;
** Commenting parameters. A &#039;Blogging Activity&#039; could ask for 1 posting and 3 comments on other blogs per student. When making a comment on another student&#039;s blog entry the student would have to choose a specific comment tag generated from this assignment from a pulldown list. Then an RSS feed for this tag could be aggregated into a single box for quick checking by the Teacher.&lt;br /&gt;
&lt;br /&gt;
=== Post-forum binding or comments allowed. We want feedback on blog posts. Its a must! ===&lt;br /&gt;
&lt;br /&gt;
Comments and trackbacks were present in the alpha/beta blog code developed by Daryl Hawes ([http://www.earlham.edu/~markp/it/archives/004195.html IT@EC April 05 blog entry]), so, in principle, the code should be there to deploy. Daryl coined a clever term for trackbacks &amp;quot;inform sites I have linked to that I have linked to them&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If commenting is implemented, then trackbacks should be too so that students can make thoughtful responses to each other&#039;s blog entries and still have them present in their own blog environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Blog]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3917</id>
		<title>Blogs</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Blogs&amp;diff=3917"/>
		<updated>2007-01-10T16:36:34Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Blogs as course activities? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Blogs Wishlist==&lt;br /&gt;
Its great to have blogs on Moodle, but we should expect more of Moodle&#039;s blogs. Let&#039;s make a wishlist.&lt;br /&gt;
=== How do I link to a specific Blog entry ? ===&lt;br /&gt;
The so called blogosphere bores out of the inter-linking between blog entries, but right now you don&#039;t know how to link to a concrete blog entry. Blog entries should have a link to refer themselves. We can only link user&#039;s blogs to categories.&lt;br /&gt;
&lt;br /&gt;
=== Blog entry resume ===&lt;br /&gt;
A view of the blogs entries that gives only 3-5 lines of the blog entry, so a reader can view a lot of entries on one site and click on a &amp;quot;continue reading&amp;quot; link or so on.&lt;br /&gt;
&lt;br /&gt;
=== Block Blog Tools === &lt;br /&gt;
Some blog tools to view blog entries that wolud be nice to have:&lt;br /&gt;
* Last Blog entries.&lt;br /&gt;
** per user&lt;br /&gt;
** per category&lt;br /&gt;
** per course&lt;br /&gt;
** per site&lt;br /&gt;
* Blog search &lt;br /&gt;
* Most readed, commented voted blog entries ( and vote for blog entry, of course )&lt;br /&gt;
&lt;br /&gt;
=== Blogs as course activities? ===&lt;br /&gt;
[[Blogs]] were touted as replacing the [[Journal]] activity, which was a course level activity for reflective writing etc. The blogs system as of v1.6 seems to remove blogs from the context of courses (excluding course-level tags) even though they can be accessed from within the course through the Blogs block. The admininstration of blogs seems to be a rather broad brush - once the settings are specified centrally on the server they can&#039;t be modified. A vision for this might be:&lt;br /&gt;
* Blog as an [[Activity]] in a course&lt;br /&gt;
** Teacher able to set up blog with various parameters and should be able to:&lt;br /&gt;
*** Specifiy a timeframe for when blog needs to be posted. How would this work? Suggest a label with posting date and make the date red if it&#039;s after the due date/time.&lt;br /&gt;
*** Label all posts in response to this activity with certain tags. Implement an RSS feed for each tag to aggregate all blog postings with that tag.&lt;br /&gt;
*** Decide whether this particular blog activity is visible to course/group/institution/teacher &amp;amp; pupil only/the wider world. In other words, set default posting permission on the student&#039;s blog entry associated with this Activity (should be fun to implement :-). Should this be changeable by the student? Eg if the student wants her posting viewed by the world, then why not?&lt;br /&gt;
*** Should this be an assessed activity? If it&#039;s really replacing Journal, then almost certainly... Could use a similar system to Forums.&lt;br /&gt;
** Blog posts which come out of this activity should be part of the user&#039;s wider personal blog&lt;br /&gt;
** If comments do happen on blogs, then each course-centred blog should be able to accept comments just from teachers, from peers, or from no-one&lt;br /&gt;
** Commenting parameters. A &#039;Blogging Activity&#039; could ask for 1 posting and 3 comments on other blogs per student. When making a comment on another student&#039;s blog entry the student would have to choose a specific comment tag generated from this assignment from a pulldown list. Then an RSS feed for this tag could be aggregated into a single box for quick checking by the Teacher.&lt;br /&gt;
&lt;br /&gt;
=== Post-forum binding or comments allowed. We want feedback on blog posts. Its a must! ===&lt;br /&gt;
&lt;br /&gt;
[[Category:Blog]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Wiki_2.0&amp;diff=1681</id>
		<title>Wiki 2.0</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Wiki_2.0&amp;diff=1681"/>
		<updated>2006-11-10T15:12:54Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Table of Versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Moodle wiki(s) enables participants to work together on web pages to add, expand and change the content.  This page can serve to provide information about different Wikis that may be used with Moodle.  &lt;br /&gt;
&lt;br /&gt;
= Wiki Standard =&lt;br /&gt;
Link to the [[Wiki]] MoodleDoc page&lt;br /&gt;
This is the standard Wiki which is part of 1.6 .  It was developed from a version of Erfurt wiki. &lt;br /&gt;
See [http://moodle.org/help.php?module=wiki&amp;amp;file=howtowiki.html &amp;quot;How to wiki&amp;quot; page for more information].&lt;br /&gt;
&lt;br /&gt;
Built by Mike Churchward &amp;amp; Michael Schneider&lt;br /&gt;
= Dfwiki =&lt;br /&gt;
This is an addin wiki for Moodle.&lt;br /&gt;
[[Dfwiki]] is the MoodleDoc page.&lt;br /&gt;
&#039;&#039;&#039;DFWiki&#039;&#039;&#039; is an alternative [[wiki]] module to the current (1.5.3) Moodle [[Wiki module]].&lt;br /&gt;
&lt;br /&gt;
Dfwiki for Moodle 1.5.3 can be found [http://appserv.lsi.upc.es/palangana/moodle/course/view.php?id=15 in dfwiki home page], and in the Moodle [[CVS]]. The [http://appserv.lsi.upc.es/palangana/moodle/course/view.php?id=15 dfwiki english home page is here].&lt;br /&gt;
&lt;br /&gt;
Team leader is Marc Alier (Ludo).&lt;br /&gt;
&lt;br /&gt;
= Erfurt wiki =&lt;br /&gt;
Named for the developer&#039;s hometown in Germany, it was the basis for the standard wiki included with Moodle.&lt;br /&gt;
&lt;br /&gt;
= New wiki =&lt;br /&gt;
Works for 1.6.x. Adpation for 1.7 in progress November 2006. We ([[Dfwikiteam]])hope will be on 1.8&lt;br /&gt;
Team leader Marc Alier (ludo) &lt;br /&gt;
==Tiddlywiki integration==&lt;br /&gt;
New wiki can interoperate with the Ajax based portable tidlywiki [http://tiddlywiki.com].&lt;br /&gt;
See [[Tiddlywiki integration]]&lt;br /&gt;
&lt;br /&gt;
= MediaWiki =&lt;br /&gt;
This is the &amp;quot;big&amp;quot; wiki.  Will Taylor says &amp;quot;I have MediaWiki integrated now with Moodle versions 1.5.3 and 1.6, very easy to set up.  Users need to log in separately to MediaWiki to edit, but they are authenticated off the Moodle database, so use the same username &amp;amp; password without needing to create a separate account on MediaWiki.  Using the MediaWiki permissions system, I have editing privileges reserved for registered, logged-in users, and read privileges open to the world - but you could configure this in many ways if you wish.  Check out the various projects created in MediaWiki (WikiPedia, Wiktionary, &amp;amp;c.) to see the potential of this platform.&amp;quot;  &lt;br /&gt;
&lt;br /&gt;
MediaWiki should be used as a &#039;&#039;&#039;site-specific&#039;&#039;&#039; wiki. The standard Moodle wiki, or Dfwiki should be used as course-specific wiki. &lt;br /&gt;
= Table of Versions =&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing =&amp;quot;0&amp;quot; rules=&amp;quot;all&amp;quot;&lt;br /&gt;
|+ &#039;&#039;&#039;Wikis in Moodle&#039;&#039;&#039;&lt;br /&gt;
! -Version Name-  &lt;br /&gt;
! Wiki version&lt;br /&gt;
! Moodle ver&lt;br /&gt;
! Status&lt;br /&gt;
! Download Place&lt;br /&gt;
! Docs&lt;br /&gt;
! Discussion Place&lt;br /&gt;
! Feature1&lt;br /&gt;
|-----&lt;br /&gt;
| Std Wiki&lt;br /&gt;
| &lt;br /&gt;
| all&lt;br /&gt;
|&lt;br /&gt;
|[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=273 Modules]&lt;br /&gt;
| [[Wiki]]&lt;br /&gt;
| [http://moodle.org/mod/forum/view.php?f=366 Wiki forum]&lt;br /&gt;
|&lt;br /&gt;
|-----&lt;br /&gt;
| Dfwiki&lt;br /&gt;
|&lt;br /&gt;
| 1.5.3&lt;br /&gt;
|&lt;br /&gt;
|[[http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=115 CVS Page]]&lt;br /&gt;
| [[Dfwiki]]&lt;br /&gt;
|[http://moodle.org/mod/forum/view.php?f=366 Wiki forum]&lt;br /&gt;
|&lt;br /&gt;
|-----&lt;br /&gt;
| Erfurt Wiki&lt;br /&gt;
| &lt;br /&gt;
| 1.6&lt;br /&gt;
|&lt;br /&gt;
|[http://erfurtwiki.sourceforge.net/ Sourceforge]&lt;br /&gt;
| [http://erfurtwiki.sourceforge.net/README readme]&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
|-----&lt;br /&gt;
| New wiki&lt;br /&gt;
| &lt;br /&gt;
|1.6&lt;br /&gt;
|Beta&lt;br /&gt;
|&lt;br /&gt;
|[http://appserv.lsi.upc.es/palangana/moodle/course/view.php?id=15 DFwiki home]&lt;br /&gt;
|[http://appserv.lsi.upc.es/palangana/moodle/course/view.php?id=15 DFwiki home]&lt;br /&gt;
|&lt;br /&gt;
|-----&lt;br /&gt;
| MediaWiki&lt;br /&gt;
| &lt;br /&gt;
|NA&lt;br /&gt;
|&lt;br /&gt;
|[http://www.mediawiki.org/wiki/MediaWiki MediaWiki Home]&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[Dfwiki]]&lt;br /&gt;
* [[Wiki requirements|Specific wiki requirements]]&lt;br /&gt;
* [[dfwiki requests]]&lt;br /&gt;
* [[Wiki comments |Wiki development comments]]&lt;br /&gt;
*[[wikindx]] for developers&lt;br /&gt;
&lt;br /&gt;
* Using Moodle [http://moodle.org/mod/forum/view.php?f=366 Wiki module forum]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Wiki]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Roles&amp;diff=3103</id>
		<title>Roles</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Roles&amp;diff=3103"/>
		<updated>2006-09-12T22:26:33Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* The new roles and capability system */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Roles and permissions&#039;&#039;&#039; will be in Moodle 1.7 and are available in the developer version of Moodle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
&lt;br /&gt;
A role is an identifier of the user&#039;s status in some context, for example, teacher, student and forum moderator are examples of roles.&lt;br /&gt;
&lt;br /&gt;
A capability is a description of some particular Moodle feature. Capabilities are associated with roles. For example, &#039;&#039;mod/forum:replypost&#039;&#039; is a capability.&lt;br /&gt;
&lt;br /&gt;
A permission is some value that is assigned for a capability for a particular role.  For example, allow or prevent.&lt;br /&gt;
&lt;br /&gt;
A context is a &amp;quot;space&amp;quot; in the Moodle, such as courses, activity modules, blocks etc.&lt;br /&gt;
&lt;br /&gt;
==The existing system==&lt;br /&gt;
&lt;br /&gt;
Currently in Moodle, we have a fixed set of roles i.e. primary admin, admins, course creators, editing teachers, non-editing teachers, students, and guests. For each role, the capability or actions that they can perform are fixed. For example, the role student allows the user to submit an assignment, but doesn&#039;t allow the user to browse/edit other users&#039; work. By using this setup we limit ourselves to a rather rigid set of capabilities for each role. If we want, say a particular student or group to be able to mark assignments in a particular course, we can&#039;t do that without giving these users teacher privileges.&lt;br /&gt;
&lt;br /&gt;
==The new roles and capability system==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Moodle 1.7}}The new system will allow authorized users to define an arbitrary number of roles (eg a teacher) &lt;br /&gt;
&lt;br /&gt;
A role consists of a list of permissions for different possible actions within Moodle (eg delete discussions, add activities etc)&lt;br /&gt;
&lt;br /&gt;
Roles can be applied to users in a context (eg assign Fred as a teacher in a particular course)&lt;br /&gt;
&lt;br /&gt;
Here are the possible contexts, listed from the most general to the most specific. &lt;br /&gt;
&lt;br /&gt;
#CONTEXT_SYSTEM&lt;br /&gt;
#CONTEXT_PERSONAL&lt;br /&gt;
#CONTEXT_USERID&lt;br /&gt;
#CONTEXT_COURSECAT&lt;br /&gt;
#CONTEXT_COURSE&lt;br /&gt;
#CONTEXT_GROUP&lt;br /&gt;
#CONTEXT_MODULE&lt;br /&gt;
#CONTEXT_BLOCK&lt;br /&gt;
&lt;br /&gt;
::It&#039;s not clear to me how CONTEXT_PERSONAL differs from CONTEXT_USERID. Under what circumstances would these be different?&lt;br /&gt;
::--[[User:Mark Pearson 2|Mark Pearson 2]] 17:26, 12 September 2006 (CDT)&lt;br /&gt;
&lt;br /&gt;
An authorized user will be able to assign an arbitrary number of roles to each user in any context.&lt;br /&gt;
&lt;br /&gt;
Capabilities can have the following permissions:&lt;br /&gt;
&lt;br /&gt;
#CAP_INHERIT&lt;br /&gt;
#CAP_ALLOW&lt;br /&gt;
#CAP_PREVENT&lt;br /&gt;
#CAP_PROHIBIT&lt;br /&gt;
&lt;br /&gt;
::Similarly, what is the distinction between CAP_PREVENT and CAP_PROHIBIT? Surely the semantic meaning of these words indicates that the functions are synonymous?&lt;br /&gt;
::--[[User:Mark Pearson 2|Mark Pearson 2]] 17:26, 12 September 2006 (CDT)&lt;br /&gt;
&lt;br /&gt;
If no permission is defined, then the capability permission is inherited from a context that is more general than the current context. If we define different permission values for the same capability in different contexts, we say that we are overriding the capability in the more specific context.&lt;br /&gt;
&lt;br /&gt;
Since the capabilities in each role could be different, there could be conflict in capabilities. This is resolved by enforcing the rule that the capability defined for a more specific context will win, unless a prohibit is encountered in a less specific context.&lt;br /&gt;
&lt;br /&gt;
For example, Mark has a student role at course level, which allows him to write into a wiki. But Mark also got assigned a Visitor role at a module context level (for a particular wiki) which prevents him from writing to the wiki (read only). Therefore, for this particular wiki, Mark will not be able to write to the wiki since the more specific context wins.&lt;br /&gt;
&lt;br /&gt;
If we set a prohibit on a capability, it means that the capability cannot be overridden and will always have a permission of prevent (deny). Prohibit always wins. For example, Jeff has a naughty student role that prohibits him from postings in any forums (for the whole site), but he&#039;s also assigned a facilitator role in &amp;quot;Science forum&amp;quot; in the course Science and Math 101. Since prohibit always wins, Jeff is unable to post in &amp;quot;Science forum&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Allow and prevent will cancel each other out if set for the same capability at the same context level. If this happens, we refer to the previous context level to determine the permission for the capability.&lt;br /&gt;
&lt;br /&gt;
This may sound more complex than it really is in practice.  The upshot is that the system can be flexible enough to allow any combination of permissions.&lt;br /&gt;
&lt;br /&gt;
==Upgrading from 1.6==&lt;br /&gt;
&lt;br /&gt;
A smooth upgrade will be provided with 1.7. The existing roles (admin, teacher, student, etc), and the existing capabilities will be automatically retained.  This is done by creating default roles at site/course levels, and assigning the current users to these roles accordingly. The default roles will have default capabilities associated with them, mirroring what we have  in 1.6.   With no modifications, Moodle will operate exactly the same before and after the upgrade.&lt;br /&gt;
&lt;br /&gt;
===Teachers===&lt;br /&gt;
&lt;br /&gt;
Users who were teachers will be assigned the default legacy teacher role (or non-editing teacher role) in all courses they were teacher.&lt;br /&gt;
&lt;br /&gt;
===Students===&lt;br /&gt;
&lt;br /&gt;
Users who were students will be assigned the default student role in all courses they were student.&lt;br /&gt;
&lt;br /&gt;
===Guests===&lt;br /&gt;
&lt;br /&gt;
There will still be a single guest user with no default role at site level.   For each course that allows guest access, the guest role will be assigned to the guest user for that course context.   The guest control for the course will be modified from three to two options (guests always need to enter enrolment key - on/off).  This setting is checked as now to force guests to enter key.&lt;br /&gt;
&lt;br /&gt;
==Capabilities==&lt;br /&gt;
&lt;br /&gt;
This will be a comprehensive list of capabilities (it&#039;s not complete yet). It is important that capability names are unique.&lt;br /&gt;
&lt;br /&gt;
===Core-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
Moodle core capability names start with &#039;moodle/&#039;.  The next word indicates what type of core capability it is, and the last word is the actual capability itself.  The capabilities for the Moodle core are defined in lib/db/access.php&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#moodle/legacy:guest - legacy capabilities are used to transition existing users to the new roles system during the upgrade to Moodle 1.7&lt;br /&gt;
#moodle/legacy:student&lt;br /&gt;
#moodle/legacy:teacher&lt;br /&gt;
#moodle/legacy:editingteacher&lt;br /&gt;
#moodle/legacy:coursecreator&lt;br /&gt;
#moodle/legacy:admin&lt;br /&gt;
#moodle/site:doanything - special capability, meant for admins, if is set, overrides all other capability settings&lt;br /&gt;
#moodle/site:config - applicable in admin/index.php and config.php (might break down later) : 1)admin/config.php 2)admin/configure.php 3)blocks/admin/block_admin.php load_content_for_site()&lt;br /&gt;
#moodle/site:readallmessages - reads all messages and history&lt;br /&gt;
#moodle/site:approvecourse - approves a pending course&lt;br /&gt;
#moodle/site:manageblocks - adding/removing/editing blocks (site, course contexts only for now) : 1)_add_edit_controls moodleblock.class.php &lt;br /&gt;
#moodle/site:backup - can create a course backup : 1)course/category.php 2)block_admin.php&lt;br /&gt;
#moodle/site:restore - can restore into this context : 1)course/category.php 2)block_admin.php&lt;br /&gt;
#moodle/site:import - can import other courses into this context : 1)block_admin.php&lt;br /&gt;
#moodle/site:accessallgroups - able to access all groups irrespective of what group the user is in&lt;br /&gt;
#moodle/site:accessdb - directly accessing db (phpmyadmin)&lt;br /&gt;
#moodle/site:viewfullnames - able to see fullnames of other users&lt;br /&gt;
#moodle/site:viewreports - able to view site/course reports&lt;br /&gt;
#moodle/site:trustcontent - ability to use trusttext feature and bypass cleaning in specific areas&lt;br /&gt;
#moodle/blog:view - read blogs&lt;br /&gt;
#moodle/blog:create - write new blog posts&lt;br /&gt;
#moodle/blog:manageofficialtags - create/delete official blog tags that others can use&lt;br /&gt;
#moodle/blog:managepersonaltags - create/delete official blog tags that others can use&lt;br /&gt;
#moodle/blog:manageentries - edit/delete all blog entries&lt;br /&gt;
#moodle/course:setcurrentsection - mark course section&lt;br /&gt;
#moodle/course:create - create courses : 1)course/edit.php 2)course/category.php 3)course/index.php&lt;br /&gt;
#moodle/course:delete - create courses : 1)course/category.php&lt;br /&gt;
#moodle/course:update - update course settings&lt;br /&gt;
#moodle/course:view - can use this to find participants&lt;br /&gt;
#moodle/course:viewparticipants - allows a user to view participant list&lt;br /&gt;
#moodle/course:viewscales - view scales (i.e. in a help window?) : 1)course/scales.php&lt;br /&gt;
#moodle/course:manageactivities - adding/removing/editing activities and resources (don&#039;t think it makes any sense to split these)&lt;br /&gt;
#moodle/course:managescales - add, delete, edit scales, move scales up and down : 1)blocks/block_admin.php 2)course/scales.php&lt;br /&gt;
#moodle/course:managegroups - managing groups, add, edit, delete : 1)course/groups.php 2)course/group.php&lt;br /&gt;
#moodle/course:managefiles - manage course files and folders&lt;br /&gt;
#moodle/course:managequestions - manage course questions&lt;br /&gt;
#moodle/course:reset - able to reset the course&lt;br /&gt;
#moodle/course:visibility - hide/show courses : 1)course/category.php&lt;br /&gt;
#moodle/course:viewhiddencourses - see hidden courses&lt;br /&gt;
#moodle/course:activityvisibility - hide/show activities within a course&lt;br /&gt;
#moodle/course:viewhiddenactivities - able to see activities that have been hidden&lt;br /&gt;
#moodle/course:sectionvisibility - hide/show sections&lt;br /&gt;
#moodle/course:viewhiddensections - view hidden sections&lt;br /&gt;
#moodle/course:viewcoursegrades - views all grades in course&lt;br /&gt;
#moodle/course:viewhiddenuserfields - view all hidden user fields&lt;br /&gt;
#moodle/course:managegrades - manages grades settings in course&lt;br /&gt;
#moodle/category:create - create category : 1)course/index.php&lt;br /&gt;
#moodle/category:delete - delete category : 1)course/index.php&lt;br /&gt;
#moodle/category:update - update category settings (sort and rename) this is currently an admin capability : 1)course/category.php&lt;br /&gt;
#moodle/category:visibility - hide/show categories : 1)course/index.php&lt;br /&gt;
#moodle/user:viewusergrades - view your own, or other user&#039;s grades (with specified context)&lt;br /&gt;
#moodle/user:create - create user : 1) user/edit.php&lt;br /&gt;
#moodle/user:delete - delete user : 1) admin/user.php&lt;br /&gt;
#moodle/user:update - update user settings : 1) user/edit.php&lt;br /&gt;
#moodle/user:viewdetails - view personally-identifying user details (e.g. name, photo). This ties in with the &amp;quot;visitor&amp;quot; scenario described below.&lt;br /&gt;
#moodle/calendar:manageownentries - create/edit/delete &lt;br /&gt;
#moodle/calendar:manageentries - create/edit/delete&lt;br /&gt;
#moodle/role:assign - assign roles to users&lt;br /&gt;
#moodle/role:override - can override role capabilities (depending on context)&lt;br /&gt;
#moodle/role:manage - create/edit/delete roles, set capability permissions for each role&lt;br /&gt;
#moodle/question:import - imports questions (course level?) - Yes, question permissions currently need to be course-level.--[[User:Tim Hunt|Tim Hunt]]&lt;br /&gt;
#moodle/question:export - exports questions (course level?)&lt;br /&gt;
#moodle/question:managecateory - add/delete/edit question categories (course level?)&lt;br /&gt;
#moodle/question:manage - add/edit/delete a question (course level)&lt;br /&gt;
&lt;br /&gt;
===User-level Capabilities===&lt;br /&gt;
# moodle/user:readuserposts -read individual user posts on profile page (parent?)&lt;br /&gt;
# moodle/user:readuserblogs -read individual user blogs on profile page (parent?)&lt;br /&gt;
# moodle/user:viewuseractivitiesreport-read individual activity report on profile page (parent?)&lt;br /&gt;
# moodle/user:editprofile - edit profile (normally used in CONTEXT_USERID and CONTEXT_SYSTEM)&lt;br /&gt;
&lt;br /&gt;
===Module-level Capabilities===&lt;br /&gt;
The capabilities are cached into a database table when a module is installed or updated. Whenever the capability definitions are updated, the module version number should be bumped up so that the database table can be updated.&lt;br /&gt;
&lt;br /&gt;
The naming convention for capabilities that are specific to modules and blocks is &#039;mod/mod_name:capability&#039;.  The part before the colon is the full path to the module in the Moodle code.  The module capabilities are defined in mod/mod_name/db/access.php.&lt;br /&gt;
&lt;br /&gt;
#Assignment&lt;br /&gt;
##mod/assignment:view- reading the assignment description&lt;br /&gt;
##mod/assignment:submit - turn assignment in&lt;br /&gt;
##mod/assignment:grade - grading, viewing of list of submitted assignments&lt;br /&gt;
#Chat&lt;br /&gt;
##mod/chat:chat - allows a user to participate in this chat&lt;br /&gt;
##mod/chat:readlog - allows a user to read past chat session logs&lt;br /&gt;
##mod/chat:deletelog - allows a user to delete past chat logs&lt;br /&gt;
#Choice&lt;br /&gt;
##mod/choice:choose - make a choice&lt;br /&gt;
##mod/choice:readresponses - read all responses&lt;br /&gt;
##mod/choice:deleteresponses - deletes all responses&lt;br /&gt;
##mod/choice:downloadresponses - download responses&lt;br /&gt;
#Database&lt;br /&gt;
##mod/data:readentry - reads other people&#039;s entry&lt;br /&gt;
##mod/data:writeentry - add / edit and delete (own) entries&lt;br /&gt;
##mod/data:managetemplates - add, delete, edit fields and templates&lt;br /&gt;
##mod/data:manageentries - edit/delete all entries&lt;br /&gt;
##mod/data:comment - comment&lt;br /&gt;
##mod/data:managecomments - edit/delete all comments&lt;br /&gt;
##mod/data:rate - rate an entry&lt;br /&gt;
##mod/data:approve - approves an entry&lt;br /&gt;
##mod/data:uploadentries - batch upload of entries&lt;br /&gt;
#Exercise&lt;br /&gt;
##mod/exercise:assess&lt;br /&gt;
#Forum&lt;br /&gt;
##mod/forum:viewforum&lt;br /&gt;
##mod/forum:viewdiscussion&lt;br /&gt;
##mod/forum:viewdiscussionsfromallgroups&lt;br /&gt;
##mod/forum:viewhiddentimedposts&lt;br /&gt;
##mod/forum:startdiscussion&lt;br /&gt;
##mod/forum:replypost&lt;br /&gt;
##mod/forum:viewrating&lt;br /&gt;
##mod/forum:viewanyrating&lt;br /&gt;
##mod/forum:rate&lt;br /&gt;
##mod/forum:createattachment&lt;br /&gt;
##mod/forum:deleteownpost&lt;br /&gt;
##mod/forum:deleteanypost&lt;br /&gt;
##mod/forum:splitdiscussions&lt;br /&gt;
##mod/forum:movediscussions&lt;br /&gt;
##mod/forum:editanypost&lt;br /&gt;
##mod/forum:viewqandawithoutposting&lt;br /&gt;
##mod/forum:viewsubscribers&lt;br /&gt;
##mod/forum:managesubscriptions&lt;br /&gt;
##mod/forum:throttlingapplies&lt;br /&gt;
#Glossary&lt;br /&gt;
##mod/glossary:view - read entries&lt;br /&gt;
##mod/glossary:write - add entries&lt;br /&gt;
##mod/glossary:manageentries - add, edit, delete entries&lt;br /&gt;
##mod/glossary:managecategories - create, delete, edit categories&lt;br /&gt;
##mod/glossary:comment - comment on an entry&lt;br /&gt;
##mod/glossary:managecomments - edit, delete comments&lt;br /&gt;
##mod/glossary:import - import glossaries&lt;br /&gt;
##mod/glossary:export - export glossaries&lt;br /&gt;
##mod/glossary:approve - approve glossaries&lt;br /&gt;
##mod/glossary:rate - rates glossary&lt;br /&gt;
##mod/glossary:viewrating - view ratings&lt;br /&gt;
#Hotpot&lt;br /&gt;
##mod/hotpot:attempt - attempt a hotpot&lt;br /&gt;
##mod/hotpot:viewreport - review and view reports&lt;br /&gt;
##mod/hotpot:grade - (grade? and) regrade&lt;br /&gt;
##mod/hotpot:deleteattempt - deletes attempts&lt;br /&gt;
#Label&lt;br /&gt;
##none&lt;br /&gt;
#Lams&lt;br /&gt;
##mod/lams:participate - original student&lt;br /&gt;
##mod/lams:manage - original teacher&lt;br /&gt;
#Lesson&lt;br /&gt;
##mod/lesson:view&lt;br /&gt;
##mod/lesson:edit - add and edit pages&lt;br /&gt;
##mod/lesson:manage - view student attempts&lt;br /&gt;
#Quiz&lt;br /&gt;
##mod/quiz:grade - comment, override grade, manual grade&lt;br /&gt;
##mod/quiz:preview - previews the quiz&lt;br /&gt;
##mod/quiz:viewreports - view quiz result reports&lt;br /&gt;
##mod/quiz:manage - add/delete/move (up or down) questions for a quiz&lt;br /&gt;
##mod/quiz:attempt - attempt the quiz--[[User:Tim Hunt|Tim Hunt]]&lt;br /&gt;
#Resource&lt;br /&gt;
##mod/resource:view&lt;br /&gt;
#Scorm&lt;br /&gt;
##mod/scorm:view&lt;br /&gt;
##mod/scorm:viewgrades&lt;br /&gt;
#Survey&lt;br /&gt;
##mod/survey:download - downloads survery result&lt;br /&gt;
##mod/survey:participate - participate/ do survey&lt;br /&gt;
##mod/survey:readresponses - read all user&#039;s responese&lt;br /&gt;
#Wiki&lt;br /&gt;
##mod/wiki:view - basic capability needed to view wiki content&lt;br /&gt;
##mod/wiki:participate - original student, meaning depends of type and course setting&lt;br /&gt;
##mod/wiki:manage - original teacher, manages assigned group; moodle/site:accessallgroups is needed to manage all groups &lt;br /&gt;
##(Waiting on new wiki)&lt;br /&gt;
#Workshop&lt;br /&gt;
##mod/workshop:view - basic capability needed to enter workshop&lt;br /&gt;
##mod/workshop:participate - original student, allows user to submit and assess&lt;br /&gt;
##mod/workshop:manage - original teacher, user can manage others&lt;br /&gt;
##(Waiting on new Workshop)&lt;br /&gt;
&lt;br /&gt;
===Enrolment-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
The naming convention for capabilities that are specific to enrolment is &#039;enrol/enrol_name:capability&#039;. The enrolment capabilities are defined in enrol/enrol_name/db/access.php.&lt;br /&gt;
&lt;br /&gt;
#Authorize.net Payment Gateway &lt;br /&gt;
##enrol/authorize:managepayments - manage user payments, capture, void, refund, delete etc.&lt;br /&gt;
&lt;br /&gt;
===Blocks===&lt;br /&gt;
#activity_modules&lt;br /&gt;
##None&lt;br /&gt;
#admin&lt;br /&gt;
#admin_2&lt;br /&gt;
#admin_bookmarks&lt;br /&gt;
#blog_menu&lt;br /&gt;
#blog_tags&lt;br /&gt;
#calendar_month&lt;br /&gt;
#calendar_upcoming&lt;br /&gt;
#course_list&lt;br /&gt;
#course_summary&lt;br /&gt;
#glossary_random&lt;br /&gt;
#html&lt;br /&gt;
#loancalc&lt;br /&gt;
#login&lt;br /&gt;
#messages&lt;br /&gt;
#news_items&lt;br /&gt;
#online_users&lt;br /&gt;
#participants&lt;br /&gt;
#quiz_results&lt;br /&gt;
#recent_activity&lt;br /&gt;
#rss_client&lt;br /&gt;
#search&lt;br /&gt;
#search_forums&lt;br /&gt;
#section_links&lt;br /&gt;
#site_main_menu&lt;br /&gt;
#social_activities&lt;br /&gt;
&lt;br /&gt;
===Questions===&lt;br /&gt;
I am adding question categories here because they seem to have been forgotten in the whole scheme of things since having been removed from the quiz module itself. I&#039;ve made a suggestion on how these could be handled in [http://www.moodle.org/bugs/bug.php?op=show&amp;amp;bugid=6118&amp;amp;pos= bug 6118].&lt;br /&gt;
&lt;br /&gt;
See [http://moodle.org/mod/forum/discuss.php?d=51143 this forum thread] for a discussion about the current problems wth publishing question categories.[[User:Tim Hunt|Tim Hunt]] 18:50, 8 August 2006 (WST)&lt;br /&gt;
&lt;br /&gt;
==Programming Interface==&lt;br /&gt;
&lt;br /&gt;
Although the Roles system may look complicated at first glance, implementing it in Moodle code is fairly simple.&lt;br /&gt;
&lt;br /&gt;
* You need to define each capability once, so that Moodle can upgrade existing roles to take advantage of it.  You do this in an access.php inside the db folder of any module (eg see mod/forum/db/access.php).  The array contains entries like this (note the descriptions for the legacy roles which provides forward compatibility):&lt;br /&gt;
    &#039;mod/forum:viewforum&#039; =&amp;gt; array(&lt;br /&gt;
        &#039;captype&#039; =&amp;gt; &#039;read&#039;,&lt;br /&gt;
        &#039;contextlevel&#039; =&amp;gt; CONTEXT_MODULE,&lt;br /&gt;
        &#039;legacy&#039; =&amp;gt; array(&lt;br /&gt;
            &#039;guest&#039; =&amp;gt; CAP_PREVENT,&lt;br /&gt;
            &#039;student&#039; =&amp;gt; CAP_ALLOW,&lt;br /&gt;
            &#039;teacher&#039; =&amp;gt; CAP_ALLOW,&lt;br /&gt;
            &#039;editingteacher&#039; =&amp;gt; CAP_ALLOW,&lt;br /&gt;
            &#039;coursecreator&#039; =&amp;gt; CAP_ALLOW,&lt;br /&gt;
            &#039;admin&#039; =&amp;gt; CAP_ALLOW&lt;br /&gt;
        )&lt;br /&gt;
    ),&lt;br /&gt;
* To load/change these capabilities you need to bump the module version.   There&#039;s no need to provide changes or differences as Moodle will scan the whole array and sort it out.&lt;br /&gt;
* On each page you need to find the context the user is working in, using the get_context_instance() function.  For example, in the forum module:&lt;br /&gt;
&lt;br /&gt;
  $context = get_context_instance(CONTEXT_MODULE, $cm-&amp;gt;id);&lt;br /&gt;
* Then, whenever you want to check that the current user has rights to do something, call has_capability() like this:&lt;br /&gt;
    if (!has_capability(&#039;mod/forum:viewforum&#039;, $context)) {&lt;br /&gt;
        print_error(&#039;nopermissiontoviewforum&#039;);&lt;br /&gt;
    }&lt;br /&gt;
* If you just want to assert a capability and then finish with an error message if it&#039;s not met (as we did above), then a shorter way it to use require_capability() like this:&lt;br /&gt;
&lt;br /&gt;
    require_capability(&#039;mod/forum:viewforum&#039;, $context);&lt;br /&gt;
&lt;br /&gt;
* Note that there are extra parameters you can specify to get a custom error message, otherwise users get an automated &amp;quot;No permissions&amp;quot; message that lists the permission they were missing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As a result of the new Roles System, all calls to isadmin(), iscoursecreator, isteacheredit(), isteacher(), isstudent(), and isguest() will have to be replaced with calls to has_capability() or require_capability().   However, these functions will be retained for some backward compatibility with old code, using the legacy capabilities to try and work out what to do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Problem areas we are working on ==&lt;br /&gt;
&lt;br /&gt;
===Student view===&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Student view&amp;quot; button has been removed completely.&lt;br /&gt;
&lt;br /&gt;
If there is time and a secure way can be found, it will be replaced by a menu to let the user assume a temporary role in the context of that course.&lt;br /&gt;
&lt;br /&gt;
===Teacher forum===&lt;br /&gt;
&lt;br /&gt;
Teacher forums were always a curious exception to normal forums, as they were not part of a course as such, and were not backed up.&lt;br /&gt;
&lt;br /&gt;
We&#039;re taking the opportunity to rectify this.   The upgrade converts teacher forums with content to normal forums in section 0 of the course, and ensures that only teachers can access them.  If the teacher forum had not been used in the course then it&#039;s not converted and will just dissappear.&lt;br /&gt;
&lt;br /&gt;
===Enrolment plugins===&lt;br /&gt;
&lt;br /&gt;
====Process of logging in====&lt;br /&gt;
&lt;br /&gt;
(more soon)&lt;br /&gt;
&lt;br /&gt;
====Process of checking access to a course====&lt;br /&gt;
&lt;br /&gt;
require_login($course-&amp;gt;id) is called by the script and has logic like this:&lt;br /&gt;
&lt;br /&gt;
# Is the user a guest at site level?&lt;br /&gt;
## Yes: Does the course allow guests?&lt;br /&gt;
### Yes: return true (and further capabilities are checked by the script)&lt;br /&gt;
### No:  send the user to course/enrol.php for enrolment&lt;br /&gt;
## No: continue below&lt;br /&gt;
&lt;br /&gt;
# Does the user have moodle/course:view in that (course) context?&lt;br /&gt;
## Yes: then they can enter (and further capabilities are checked by the script)&lt;br /&gt;
##  No: is guest access allowed on the course?&lt;br /&gt;
### Yes: assign temporary guest role to that user for that context (in session cache).&lt;br /&gt;
### No: send the user to course/enrol.php for enrolment.&lt;br /&gt;
&lt;br /&gt;
====Process of enrolling====&lt;br /&gt;
&lt;br /&gt;
(more soon)&lt;br /&gt;
&lt;br /&gt;
==Scenario brainstorming==&lt;br /&gt;
&lt;br /&gt;
This section is for brainstorming some example roles that we would like to support.  Note some of these *may* not be possible in 1.7.&lt;br /&gt;
&lt;br /&gt;
===Student===&lt;br /&gt;
Has this one been missed?&lt;br /&gt;
&lt;br /&gt;
===Site Designers===&lt;br /&gt;
Is there a role for people involved in how the site looks but not full administrators? Thinking here of online control of themes rather than FTP theme uploading. But in either case they caneditlogos, caneditcss, candeditlevelatwhichthemeapplies.&lt;br /&gt;
&lt;br /&gt;
===Educational Authority Adviser===&lt;br /&gt;
Someone who would want to browse the site and may be asked to comment or contribute to particular discussions or developments in school. Access for this role would be controlled by the school in the case of school level moodles but may be different if there were to be a Local Authority wide Moodle.&lt;br /&gt;
&lt;br /&gt;
===Educational Inspector===&lt;br /&gt;
Someone who will visit the site to verify the school&#039;s self review that comments on home school relationships, extending the classroom etc. They may want to see summaries of usage and reports from surveys garnering parent and pupil views.&lt;br /&gt;
&lt;br /&gt;
===Second Marker / Moderator===&lt;br /&gt;
A teacher within ths site that has access to assignments and quizzes from another teacher&#039;s course for second marking purposes. This may need additional functionality adding to the assignment module so that two sets of grades/feedback can be given to one set of assignments.&lt;br /&gt;
&lt;br /&gt;
===Peer observer of teaching===&lt;br /&gt;
Many institutions encourage peer observation of teaching, to encourage reflection on practice. In online environments this will be similar to moderation or inspection. The peer observer would need to be able to experience the course &amp;quot;as a student&amp;quot;, but also to be able to view summaries of usage, transcripts of interactions (forums/surveys/polls etc), grades assigned (e.g. in assignments).&lt;br /&gt;
&lt;br /&gt;
===External Examiner===&lt;br /&gt;
Has all the rights of inpectors, but would also need to be able to review assignments and feedback, view forums, glossaries etc. However, would not want to post, feedback onto the site at all.&lt;br /&gt;
&lt;br /&gt;
===Parent===&lt;br /&gt;
A parent will have one or more children in one or more institutions which could be using one or more moodle instances or a mixture of Learning Platforms. A parent&#039;s role will vary depending on the age of their children and whether they are contributing as a parent or a school supporter.&lt;br /&gt;
&lt;br /&gt;
In Early Years (EY=3+4 yr olds) and Key Stage 1 (KS1=5+6 yr olds) they may play/learn on an activity or write for the child. Parents often interpret homework tasks and read to their children perhaps filling in a joint reading diary. In Key Stage 2 (KS2=7-11 yr olds) parents would be more monitoring but may join in as well.&lt;br /&gt;
&lt;br /&gt;
In Key stages 3 (KS3=12-14 yr olds) and 4 (KS4=15+16 yr olds) this changes to more of a monitoring/awareness role where a parent would expect to have a summary report of attendance, attainment and general achievement on a weekly/monthly/termly or annual basis. Parents will often be asked to sign and write back comments about this review report.&lt;br /&gt;
&lt;br /&gt;
In all Key Stages there is a great need for parents to receive communication from the school which they can confirm they have received by signing a form. In some cases this may also involve making choices from a list. It may also involve payment for a trip or disco being returned so there could be the possibility of electronic payments. Also in all Key Satges there may be a home-school agreement which may be signed up to. Could this form part of a site policy system that incorporates a tickable list of activities the parent agrees to the child using (blogs/wikis/forums etc.)?&lt;br /&gt;
&lt;br /&gt;
Parent&#039;s evenings often involve complex booking systems that attempt to get parent&#039;s and teachers together. Easy for EY/KS1/KS2 very difficult for KS3/KS4. Wow would this help if it was built into the Learning Platform.&lt;br /&gt;
&lt;br /&gt;
In some cases there needs to be confidential communication between the parent and the teacher without the child being party to this. It may involve teaching and learning but could also involve a behaviour or medical issue. Often this may be done via a sealed letter or face to face. &lt;br /&gt;
&lt;br /&gt;
The latest incarnation of OfSTED with the Self Review Framework (SEF) there is a greater emphasis on schools gathering parent voice via surveys and discussion. There is a clear match here with parents have access to parental votes, questionnaires and discussions and for schools to be able to publish news, results and reports back to parents.&lt;br /&gt;
&lt;br /&gt;
In the UK the LP framework and agenda as being pushed by the DfES via Becta emphasises that within the mandatory groups and roles functionality the parent role is likely to be required to meet the LP Framework procurement standard.&lt;br /&gt;
&lt;br /&gt;
Again in the UK, parents have their own independent right of access to a child&#039;s educational records. Obviously, children&#039;s records must not be made available to other parties, including the parents of other children in the same class. Thus it would be necessary to associate parent accounts with their own child&#039;s accounts in such a way that they could, if so desired, have read access to their child&#039;s grades, answers and contributions, but generally not those of other children - this may be problematic in the case of wiki activities or forum posts.&lt;br /&gt;
&lt;br /&gt;
There is some concern that children&#039;s forum contributions etc may be constrained if their parents are able to read all that they write; this may be particularly problematic in areas such as Personal, Social and Health Education (PSHE), where some schools may choose to use obfuscated usernames.&lt;br /&gt;
&lt;br /&gt;
===Manager===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Weekly Seminar Leader===&lt;br /&gt;
&#039;&#039;In a university seminar, typically 8-15 students in their 3rd/4th year, each student is responsible for leading one topic in a study series.  I ask each student to research 5-10 resources, then give a powerpoint presentation to the other students.  This is followed by an in-class discussion and then online homework.  The homework involves some fun quiz questions and then some reflective journal questions.  I ask each seminar leader to prepare the quiz questions and journal questions as well as their presentation.  To do that, I would like to assign activity-making/authoring roles to the student--either for a short period, or for duration of the whole course.  Thus &amp;quot;Allow Quiz Authoring Role&amp;quot; or &amp;quot;Allow Assignment Authoring Role&amp;quot; at the course level or, if possible, even the Topic level (in a topic or week format course) would be important.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Mentor/Mentee===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Community-Designed Rating Criteria===&lt;br /&gt;
&#039;&#039;The gradebook tends to be the domain of the teacher.  What if community/peer ratings/marks could also be entered there? What if peer assessment criteria could be designed by the students, not just the teacher?&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Visitor===&lt;br /&gt;
&lt;br /&gt;
This would be a role whereby one could allow a visitor to visit one&#039;s classroom. This might be a colleague interested in seeing your course, or a journalist who might be writing an article about one&#039;s site. They should not be able to see the names of any students anywhere (eg recent activity, forum posts) for privacy reasons. They should be able to try out things like quizzes, and lessons but no grades would be recorded (like in teacher preview mode). They would not be able to participate in choices and forums but could view them. It would be read only in a way like former-student role below but without access to a particular student&#039;s records that former student role would grant.&lt;br /&gt;
&lt;br /&gt;
===Guest Speaker===&lt;br /&gt;
&lt;br /&gt;
This role would be similar to the Visitor role above, but would allow seeing student names, and also allow both reading and posting to a specific forum or forums. We often have &amp;quot;guest speakers&amp;quot; who read and respond to student forum posts. Right now we have to add them as students, which isn&#039;t ideal.&lt;br /&gt;
&lt;br /&gt;
===Former Student===&lt;br /&gt;
This role would be of particular use for courses with rolling enrollments. This role would be one where a student had completed all of the requirements of a course (ie assignments, quizzes etc.) but wished to have continued access to the course material for review or consultation. The key factor is that one would give access to the completed student to the notes he read, his work and the teacher&#039;s comments on it, but he would not be allowed to do anything that would take up the teacher&#039;s time. In other words, a sort-of read-only access to the course. How forums, which might contain pertinent information and would continue to grow, would be handled is a question. Perhaps the student would be shown only what was in the forums at the time he completed the course. He would not be allowed to see any new posts or add any himself. Same thing for database and glossary entries. In other words, a snapshot of the course at the time his regular enrollment ended. He shouldn&#039;t be able to see the names or profiles of any newly enrolled students for privacy reasons-hence the restrictions on forum access. One issue that would have to be dealt with would be changes to existing modules-such as resources. Does the student get access to the module as it was or as it is? We have no versioning of resources in Moodle so this would be a problem. What about a teacher changing a quiz question so that the answer is different? What would a former student see?&lt;br /&gt;
&lt;br /&gt;
===Alumnus=== An ALUMNUS should be able to search for all other ALUMNI of the school, interact with them and be enrolled in a seperate course - which is like a META course with all the content of his learning and interaction - as well as capabilities to be a part of this ALUMNI only course.  All the teachers of courses during school years should automatically be a part of the ALUMNI course .. which means when an ALUMNUS is enrolled in a course, the original teachers of all his courses get enrolled ?  --[[User:Anil Sharma|Anil Sharma]] 20:54, 15 July 2006 (WST)&lt;br /&gt;
&lt;br /&gt;
===Librarian===&lt;br /&gt;
&lt;br /&gt;
Reference Librarians have an active role in most of the courses taught at some schools such as Earlham College (with Bibliographic Instruction). The Librarian role within Moodle could encompass default read access to all courses (unless prohibited by course teacher) and read access to all components of the course unless access is barred (again by teacher). The Librarians would also perhaps have a block called perhaps Reference Services or Reference Desk with write access where they could deposit resources. Also this block might have a chat applet whereby enrolled students could chat to the Reference Librarian on duty about their bibliographic research needs.&lt;br /&gt;
&lt;br /&gt;
In schools there is often a book review system. This may be covered by the lending system database but may not in which case a librarian may neeed to have a course area they can create a database template to handle the reviews in which case they may have a normal teacher style role? Off topic but course an integration with common schools database systems would be great.&lt;br /&gt;
&lt;br /&gt;
===Teacher===&lt;br /&gt;
&lt;br /&gt;
Teachers should have read access to other Teacher&#039;s courses unless explictly prohibited. They should be able to set parts of their own course to be totally private (perhaps even to admin?). Just as each activity can currently be set to have group access, each activity could have a permissions field. Teachers could set default permissions for all activities on their course (eg they might disallow Librarian access for example) and then change the access permission for an individual activity. &lt;br /&gt;
&lt;br /&gt;
I think that what is needed is a simple heirarchy of permissions and levels of granularity.&lt;br /&gt;
&lt;br /&gt;
I would take issue with &amp;quot;teachers should have read access to other teacher&#039;s courses unless explicitly prohibited.&amp;quot; This is a violation of the students&#039; privacy as how they perform and what they do in one class isn&#039;t the business of another teacher. Moreover, in the real world a teacher wouldn&#039;t suddenly go sit in on a colleague&#039;s class without asking permission first. I would not have appreciated such an invasion of privacy as either a teacher or a student. It could be an option, but shouldn&#039;t be default.--[[User:N Hansen|N Hansen]] 19:54, 12 June 2006 (WST)&lt;br /&gt;
&lt;br /&gt;
===Community Education Tutors/Trainers===&lt;br /&gt;
Teachers may be community adult education trainers making use of a school moodle so must only have access to their courses unless given access elsewhere. They would not necessarily get the default teacher privileges.&lt;br /&gt;
&lt;br /&gt;
===Secretary/Student Worker===&lt;br /&gt;
&lt;br /&gt;
We often have faculty who want their departmental secretary or student worker to scan and upload files and perhaps create resources. Currently they have to be given teacher access to the course. This is dangerous from a FERPA standpoint since they could easily get access to grades.&lt;br /&gt;
&lt;br /&gt;
===Teaching Assistant===&lt;br /&gt;
&lt;br /&gt;
Our Faculty frequently have undergraduate students acting as Teaching Assistants. These students need to be able to add resources, create assignments, and possibly grade assignments. However, due to FERPA they cannot have access to other students&#039; overall grade information. I think the requirements here are slightly different than those of Secretary/Student Worker&lt;br /&gt;
&lt;br /&gt;
===Student - FERPA rights===&lt;br /&gt;
&lt;br /&gt;
A student that has asserted their FERPA rights to non-disclosure.  Typically includes not publishing their name&lt;br /&gt;
in any public place.  Could include this student only being seen with an &amp;quot;alias&amp;quot; within course spaces.  Is this an attribute rather&lt;br /&gt;
than a role?&lt;br /&gt;
&lt;br /&gt;
===Help Desk===&lt;br /&gt;
&lt;br /&gt;
Help desk agents that have read access for the purposes of trouble shooting.  Some care in placing this role within a hierarchy&lt;br /&gt;
of inheritance is needed, full access will be problematic with FERPA.&lt;br /&gt;
&lt;br /&gt;
===Admin - Catgory based===&lt;br /&gt;
&lt;br /&gt;
Basically a person in between full Admin and Creator that has the permissions of an Admin but only with respect to courses and students. Currently a Creator has permissions site-wide which does not always meet the requirements of a given organisation (e.g. Department A may not be happy that a person from Department B can create/modify courses within Department A&#039;s area). The ability to designate a Creator within a specific category would allow areas to be set up for a faculty/department/organisation and allow the Admin for that area to create/delete courses, upload users, add site-wide entries to the calendar etc.&lt;br /&gt;
&lt;br /&gt;
===PROCESS ROLES===&lt;br /&gt;
&lt;br /&gt;
organising the learning process for a group you wish to have the choice to place students in differnt roles: examples of this are:&lt;br /&gt;
&amp;lt;li&amp;gt;1. Give a student the role of forum-moderator with edit and chunk-rights&lt;br /&gt;
&amp;lt;li&amp;gt;2. Give students different roles &amp;amp; rights in a Webquest design (and change these roles next week&lt;br /&gt;
&amp;lt;li&amp;gt;3. Give students different resources, depending of their roles in a rolegame/simulation&lt;br /&gt;
&amp;lt;li&amp;gt;4. Give a student the rights to create the section content of next week (and only that week..)&lt;br /&gt;
&amp;lt;li&amp;gt;5. ..&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=38788 Roles and Permissions architecture] forum discussion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Future]]&lt;br /&gt;
[[Category:Roles]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Роли]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Roles&amp;diff=2883</id>
		<title>Roles</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Roles&amp;diff=2883"/>
		<updated>2006-05-17T22:20:41Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Scenarios */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Roles and capabilities&#039;&#039;&#039; are planned to be included in Moodle 1.7. For now, we have some basic ideas of how to implement such a structure in Moodle.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Please note that none of the following is finalised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
&lt;br /&gt;
By roles, we mean an identifier of the user&#039;s status, for example, teacher, student and forum moderator are examples of roles.&lt;br /&gt;
&lt;br /&gt;
A capability is a permission to access some particular Moodle feature. Capabilities are associated with roles. For example, &#039;&#039;forum_canreadpost&#039;&#039; is a capability.&lt;br /&gt;
&lt;br /&gt;
==The existing system==&lt;br /&gt;
&lt;br /&gt;
Currently in Moodle, we have a fixed set of roles i.e. primary admin, admins, course creators, editing teachers, non-editing teachers, students, and guests. For each role, the capability or actions that they can performed are fixed. For example, the role student allows the user to submit an assignment, but doesn&#039;t allow the user to browse/edit other users&#039; work. By using this setup we limit ourselves to a rather rigid set of capabilities for each role. If we want, say a particular student or group to be able to mark assignments in a particular course, we can&#039;t do that without giving these users teacher privileges.&lt;br /&gt;
&lt;br /&gt;
==The new roles and capability system==&lt;br /&gt;
&lt;br /&gt;
The new system will allow authorized users to define an arbitrary number of roles. Each role can have a customizable set of capabilities in every context. A context can be the whole Moodle site, a course, or a module instance, e.g. quiz 5 in &#039;Introduction to Photography&#039;. An authorized user will be able to assign an arbitrary number of roles to each user. Since the capabilities in each role could be different, there could be conflict in capabilities. This is resolved by giving roles different &#039;priorities&#039;. For example, to prevent a naughty student from posting, one could assign him a &#039;naughty student&#039; role that does not allow him to post. This role should have a priority higher than that of a normal &#039;student&#039; role. &lt;br /&gt;
&lt;br /&gt;
To facilitate exceptional cases in roles and capabilities, we can use exception rules. For example, we can specify a rule saying that all students are able to mark/read other students&#039; assignment in this particular course. Note that such rules need to have a priority as well. The capability of a user, in any context is then resolved by finding the highest priority role/rule.&lt;br /&gt;
&lt;br /&gt;
==The plan==&lt;br /&gt;
&lt;br /&gt;
There are a few major things that need to be done. Here&#039;s a list (in no particular order):&lt;br /&gt;
&lt;br /&gt;
#Identify permissions required for site/course/each module.&lt;br /&gt;
#Define the database structure for storing roles and capabilities.&lt;br /&gt;
#Recode the whole of Moodle, including all modules to support the new structure. Instead of using &amp;lt;code&amp;gt;isteacher()&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;isstudent()&amp;lt;/code&amp;gt; we should be using &amp;lt;code&amp;gt;has_capabity($capability, $instanceid)&amp;lt;/code&amp;gt; etc. A new API for handling roles and capabilities will be implemented (accesslib.php).&lt;br /&gt;
#Add storage of capabilities for each module. Can be done either in a file, e.g. db/capability.xml, or as a sql file that gets installed to a central db whenever this module is installed. Either way, what do we do when we need to upgrade these capabilities? Some capabilities might needs refining/splitting later on. How do we control the &#039;version&#039; of a capability?&lt;br /&gt;
#Consider interface issues, especially how to manage conflicting role/exception rules.&lt;br /&gt;
#Upon logging in, we should use a cache to store capability, down to module level. How should that be structured?&lt;br /&gt;
#Consider the impact on backup/restore.&lt;br /&gt;
#Upgrade path for current users. The user information in table user_coursecreators, user_admins, user_teachers, and user_students will most likely be migrated to the new roles and capabilities tables. The users will most likely be assigned default roles that comes with default capabilities (e.g. teachers, admins, students, etc). The old tables themselves could possibly be dropped at the end of the upgrade.&lt;br /&gt;
&lt;br /&gt;
==Capabilities==&lt;br /&gt;
&lt;br /&gt;
This is a comprehensive list of capabilities, well, in the making. Please edit. Should we distinguish canedit and candelete?&lt;br /&gt;
&lt;br /&gt;
What about a canview capability? Like for choice, where a person is allowed to see the choice question but not participate in it? --[[User:N Hansen|N Hansen]] 19:29, 16 May 2006 (WST)&lt;br /&gt;
&lt;br /&gt;
===Site-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
#canreadblogs&lt;br /&gt;
#canpostblogs&lt;br /&gt;
#candeleteallblogs&lt;br /&gt;
#canbrowseuser&lt;br /&gt;
#canviewhiddenactivity&lt;br /&gt;
#cancreatecourse&lt;br /&gt;
#caneditownprofile&lt;br /&gt;
#caneditallprofiles&lt;br /&gt;
&lt;br /&gt;
===Course-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
#canseecoursecontent&lt;br /&gt;
#caneditcourse&lt;br /&gt;
#cancreatebackups&lt;br /&gt;
#canrestorebackups&lt;br /&gt;
#cancreateblocks&lt;br /&gt;
#caneditblocks&lt;br /&gt;
#candeleteblocks&lt;br /&gt;
&lt;br /&gt;
===Module-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
#Assignment&lt;br /&gt;
##assignment_canadd&lt;br /&gt;
##assignment_canedit&lt;br /&gt;
##assignment_candelete&lt;br /&gt;
##assignment_cansubmit&lt;br /&gt;
##assignment_canmark&lt;br /&gt;
#Chat&lt;br /&gt;
##chat_canadd&lt;br /&gt;
##chat_canedit&lt;br /&gt;
##chat_candelete&lt;br /&gt;
##chat_canparticipate&lt;br /&gt;
#Choice&lt;br /&gt;
##choice_canadd&lt;br /&gt;
##choice_canedit&lt;br /&gt;
##choice_candelete&lt;br /&gt;
##choice_canparticipate&lt;br /&gt;
#Database&lt;br /&gt;
##database_canadd&lt;br /&gt;
##database_canedit&lt;br /&gt;
##databaes_candelete&lt;br /&gt;
##database_canaddentry&lt;br /&gt;
##database_canaddtemplates&lt;br /&gt;
##database_canedittemplates&lt;br /&gt;
##database_candeleteownentry&lt;br /&gt;
##database_candeleteallentry&lt;br /&gt;
#Exercise&lt;br /&gt;
##exercise_canadd&lt;br /&gt;
##exercise_canedit&lt;br /&gt;
##exercise_candelete&lt;br /&gt;
#Forum&lt;br /&gt;
##forum_canadd&lt;br /&gt;
##forum_canedit&lt;br /&gt;
##forum_candelete&lt;br /&gt;
##forum_canreadpost&lt;br /&gt;
##forum_canstartnewdiscussion&lt;br /&gt;
##forum_canreply&lt;br /&gt;
##forum_caneditallpost&lt;br /&gt;
##forum_candeleteallpost&lt;br /&gt;
#Glossary&lt;br /&gt;
##glossary_canadd&lt;br /&gt;
##glossary_canedit&lt;br /&gt;
##glossary_candelete&lt;br /&gt;
##glossary_canaddnewcat&lt;br /&gt;
##glossary_canadditem&lt;br /&gt;
#Hotpot&lt;br /&gt;
##hotpot_candd&lt;br /&gt;
##hotpot_canedit&lt;br /&gt;
##hotpot_candelete&lt;br /&gt;
#Label&lt;br /&gt;
##label_canadd&lt;br /&gt;
##label_canedit&lt;br /&gt;
##label_candelete&lt;br /&gt;
#Lams&lt;br /&gt;
##lams_canadd&lt;br /&gt;
##lams_canedit&lt;br /&gt;
##lams_candelete&lt;br /&gt;
#Lesson&lt;br /&gt;
##lesson_canadd&lt;br /&gt;
##lesson_canedit&lt;br /&gt;
##lesson_candelete&lt;br /&gt;
##lesson_canparticipate&lt;br /&gt;
#Quiz&lt;br /&gt;
##quiz_canadd&lt;br /&gt;
##quiz_canedit&lt;br /&gt;
##quiz_candelete&lt;br /&gt;
##quiz_cantake&lt;br /&gt;
#Resource&lt;br /&gt;
##resource_canadd&lt;br /&gt;
##resource_canedit&lt;br /&gt;
##resource_candelete&lt;br /&gt;
#Scorm&lt;br /&gt;
##scorm_canadd&lt;br /&gt;
##scorm_canedit&lt;br /&gt;
##socrm_candelete&lt;br /&gt;
#Survey&lt;br /&gt;
##survey_canadd&lt;br /&gt;
##survey_canedit&lt;br /&gt;
##survey_candelete&lt;br /&gt;
#Wiki&lt;br /&gt;
##wiki_canadd&lt;br /&gt;
##wiki_canedit&lt;br /&gt;
##wiki_candelete&lt;br /&gt;
##wiki_canstartnewwiki&lt;br /&gt;
##wiki_canparticipate&lt;br /&gt;
#Workshop&lt;br /&gt;
##workshop_canadd&lt;br /&gt;
##workshop_canedit&lt;br /&gt;
##workshop_candelete&lt;br /&gt;
##workshop_canparticipate&lt;br /&gt;
&lt;br /&gt;
==Scenarios==&lt;br /&gt;
&lt;br /&gt;
This section is for brainstorming some example roles that we would like to support:&lt;br /&gt;
&lt;br /&gt;
===Parent===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Manager===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Weekly Seminar Leader===&lt;br /&gt;
&#039;&#039;In a university seminar, typically 8-15 students in their 3rd/4th year, each student is responsible for leading one topic in a study series.  I ask each student to research 5-10 resources, then give a powerpoint presentation to the other students.  This is followed by an in-class discussion and then online homework.  The homework involves some fun quiz questions and then some reflective journal questions.  I ask each seminar leader to prepare the quiz questions and journal questions as well as their presentation.  To do that, I would like to assign activity-making/authoring roles to the student--either for a short period, or for duration of the whole course.  Thus &amp;quot;Allow Quiz Authoring Role&amp;quot; or &amp;quot;Allow Assignment Authoring Role&amp;quot; at the course level or, if possible, even the Topic level (in a topic or week format course) would be important.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Mentor/Mentee===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Community-Designed Rating Criteria===&lt;br /&gt;
&#039;&#039;The gradebook tends to be the domain of the teacher.  What if community/peer ratings/marks could also be entered there? What if peer assessment criteria could be designed by the students, not just the teacher?&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Visitor===&lt;br /&gt;
&lt;br /&gt;
This would be a role whereby one could allow a visitor to visit one&#039;s classroom. This might be a colleague interested in seeing your course, or a journalist who might be writing an article about one&#039;s site. They should not be able to see the names of any students anywhere (eg recent activity, forum posts) for privacy reasons. They should be able to try out things like quizzes, and lessons but no grades would be recorded (like in teacher preview mode). They would not be able to participate in choices and forums but could view them. It would be read only in a way like former-student role below but without access to a particular student&#039;s records that former student role would grant. &lt;br /&gt;
&lt;br /&gt;
===Former Student===&lt;br /&gt;
This role would be of particular use for courses with rolling enrollments. This role would be one where a student had completed all of the requirements of a course (ie assignments, quizzes etc.) but wished to have continued access to the course material for review or consultation. The key factor is that one would give access to the completed student to the notes he read, his work and the teacher&#039;s comments on it, but he would not be allowed to do anything that would take up the teacher&#039;s time. In other words, a sort-of read-only access to the course. How forums, which might contain pertinent information and would continue to grow, would be handled is a question. Perhaps the student would be shown only what was in the forums at the time he completed the course. He would not be allowed to see any new posts or add any himself. Same thing for database and glossary entries. In other words, a snapshot of the course at the time his regular enrollment ended. He shouldn&#039;t be able to see the names or profiles of any newly enrolled students for privacy reasons-hence the restrictions on forum access. One issue that would have to be dealt with would be changes to existing modules-such as resources. Does the student get access to the module as it was or as it is? We have no versioning of resources in Moodle so this would be a problem. What about a teacher changing a quiz question so that the answer is different? What would a former student see?&lt;br /&gt;
&lt;br /&gt;
===Librarian===&lt;br /&gt;
&lt;br /&gt;
Reference Librarians have an active role in most of the courses taught at Earlham College (with Bibliographic Instruction). The Librarian role within Moodle could encompass default read access to all courses (unless prohibited by course teacher) and read access to all components of the course unless access is barred (again by teacher). The Librarians would also perhaps have a block called perhaps Reference Services or Reference Desk with write access where they could deposit resources. Also this block might have a chat applet whereby enrolled students could chat to the Reference Librarian on duty about their bibliographic research needs.&lt;br /&gt;
&lt;br /&gt;
===Teacher===&lt;br /&gt;
&lt;br /&gt;
Teachers should have read access to other Teacher&#039;s courses unless explictly prohibited. They should be able to set parts of their own course to be totally private (perhaps even to admin?). Just as each activity can currently be set to have group access, each activity could have a permissions field. Teachers could set default permissions for all activities on their course (eg they might disallow Librarian access for example) and then change the access permission for an individual activity.&lt;br /&gt;
&lt;br /&gt;
I think that what is needed is a simple heirarchy of permissions and levels of granularity. &lt;br /&gt;
&lt;br /&gt;
===Secretary/Student Worker===&lt;br /&gt;
&lt;br /&gt;
We often have faculty who want their departmental secretary or student worker to scan and upload files and perhaps create resources. Currently they have to be given teacher access to the course. This is dangerous from a FERPA standpoint since they could easily get access to grades.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=38788 Roles and Permissions architecture] forum discussion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Future]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/dev/index.php?title=Roles&amp;diff=2882</id>
		<title>Roles</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/dev/index.php?title=Roles&amp;diff=2882"/>
		<updated>2006-05-17T22:05:25Z</updated>

		<summary type="html">&lt;p&gt;Markpearson: /* Scenarios */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Roles and capabilities&#039;&#039;&#039; are planned to be included in Moodle 1.7. For now, we have some basic ideas of how to implement such a structure in Moodle.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Please note that none of the following is finalised.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
&lt;br /&gt;
By roles, we mean an identifier of the user&#039;s status, for example, teacher, student and forum moderator are examples of roles.&lt;br /&gt;
&lt;br /&gt;
A capability is a permission to access some particular Moodle feature. Capabilities are associated with roles. For example, &#039;&#039;forum_canreadpost&#039;&#039; is a capability.&lt;br /&gt;
&lt;br /&gt;
==The existing system==&lt;br /&gt;
&lt;br /&gt;
Currently in Moodle, we have a fixed set of roles i.e. primary admin, admins, course creators, editing teachers, non-editing teachers, students, and guests. For each role, the capability or actions that they can performed are fixed. For example, the role student allows the user to submit an assignment, but doesn&#039;t allow the user to browse/edit other users&#039; work. By using this setup we limit ourselves to a rather rigid set of capabilities for each role. If we want, say a particular student or group to be able to mark assignments in a particular course, we can&#039;t do that without giving these users teacher privileges.&lt;br /&gt;
&lt;br /&gt;
==The new roles and capability system==&lt;br /&gt;
&lt;br /&gt;
The new system will allow authorized users to define an arbitrary number of roles. Each role can have a customizable set of capabilities in every context. A context can be the whole Moodle site, a course, or a module instance, e.g. quiz 5 in &#039;Introduction to Photography&#039;. An authorized user will be able to assign an arbitrary number of roles to each user. Since the capabilities in each role could be different, there could be conflict in capabilities. This is resolved by giving roles different &#039;priorities&#039;. For example, to prevent a naughty student from posting, one could assign him a &#039;naughty student&#039; role that does not allow him to post. This role should have a priority higher than that of a normal &#039;student&#039; role. &lt;br /&gt;
&lt;br /&gt;
To facilitate exceptional cases in roles and capabilities, we can use exception rules. For example, we can specify a rule saying that all students are able to mark/read other students&#039; assignment in this particular course. Note that such rules need to have a priority as well. The capability of a user, in any context is then resolved by finding the highest priority role/rule.&lt;br /&gt;
&lt;br /&gt;
==The plan==&lt;br /&gt;
&lt;br /&gt;
There are a few major things that need to be done. Here&#039;s a list (in no particular order):&lt;br /&gt;
&lt;br /&gt;
#Identify permissions required for site/course/each module.&lt;br /&gt;
#Define the database structure for storing roles and capabilities.&lt;br /&gt;
#Recode the whole of Moodle, including all modules to support the new structure. Instead of using &amp;lt;code&amp;gt;isteacher()&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;isstudent()&amp;lt;/code&amp;gt; we should be using &amp;lt;code&amp;gt;has_capabity($capability, $instanceid)&amp;lt;/code&amp;gt; etc. A new API for handling roles and capabilities will be implemented (accesslib.php).&lt;br /&gt;
#Add storage of capabilities for each module. Can be done either in a file, e.g. db/capability.xml, or as a sql file that gets installed to a central db whenever this module is installed. Either way, what do we do when we need to upgrade these capabilities? Some capabilities might needs refining/splitting later on. How do we control the &#039;version&#039; of a capability?&lt;br /&gt;
#Consider interface issues, especially how to manage conflicting role/exception rules.&lt;br /&gt;
#Upon logging in, we should use a cache to store capability, down to module level. How should that be structured?&lt;br /&gt;
#Consider the impact on backup/restore.&lt;br /&gt;
#Upgrade path for current users. The user information in table user_coursecreators, user_admins, user_teachers, and user_students will most likely be migrated to the new roles and capabilities tables. The users will most likely be assigned default roles that comes with default capabilities (e.g. teachers, admins, students, etc). The old tables themselves could possibly be dropped at the end of the upgrade.&lt;br /&gt;
&lt;br /&gt;
==Capabilities==&lt;br /&gt;
&lt;br /&gt;
This is a comprehensive list of capabilities, well, in the making. Please edit. Should we distinguish canedit and candelete?&lt;br /&gt;
&lt;br /&gt;
What about a canview capability? Like for choice, where a person is allowed to see the choice question but not participate in it? --[[User:N Hansen|N Hansen]] 19:29, 16 May 2006 (WST)&lt;br /&gt;
&lt;br /&gt;
===Site-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
#canreadblogs&lt;br /&gt;
#canpostblogs&lt;br /&gt;
#candeleteallblogs&lt;br /&gt;
#canbrowseuser&lt;br /&gt;
#canviewhiddenactivity&lt;br /&gt;
#cancreatecourse&lt;br /&gt;
#caneditownprofile&lt;br /&gt;
#caneditallprofiles&lt;br /&gt;
&lt;br /&gt;
===Course-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
#canseecoursecontent&lt;br /&gt;
#caneditcourse&lt;br /&gt;
#cancreatebackups&lt;br /&gt;
#canrestorebackups&lt;br /&gt;
#cancreateblocks&lt;br /&gt;
#caneditblocks&lt;br /&gt;
#candeleteblocks&lt;br /&gt;
&lt;br /&gt;
===Module-level Capabilities===&lt;br /&gt;
&lt;br /&gt;
#Assignment&lt;br /&gt;
##assignment_canadd&lt;br /&gt;
##assignment_canedit&lt;br /&gt;
##assignment_candelete&lt;br /&gt;
##assignment_cansubmit&lt;br /&gt;
##assignment_canmark&lt;br /&gt;
#Chat&lt;br /&gt;
##chat_canadd&lt;br /&gt;
##chat_canedit&lt;br /&gt;
##chat_candelete&lt;br /&gt;
##chat_canparticipate&lt;br /&gt;
#Choice&lt;br /&gt;
##choice_canadd&lt;br /&gt;
##choice_canedit&lt;br /&gt;
##choice_candelete&lt;br /&gt;
##choice_canparticipate&lt;br /&gt;
#Database&lt;br /&gt;
##database_canadd&lt;br /&gt;
##database_canedit&lt;br /&gt;
##databaes_candelete&lt;br /&gt;
##database_canaddentry&lt;br /&gt;
##database_canaddtemplates&lt;br /&gt;
##database_canedittemplates&lt;br /&gt;
##database_candeleteownentry&lt;br /&gt;
##database_candeleteallentry&lt;br /&gt;
#Exercise&lt;br /&gt;
##exercise_canadd&lt;br /&gt;
##exercise_canedit&lt;br /&gt;
##exercise_candelete&lt;br /&gt;
#Forum&lt;br /&gt;
##forum_canadd&lt;br /&gt;
##forum_canedit&lt;br /&gt;
##forum_candelete&lt;br /&gt;
##forum_canreadpost&lt;br /&gt;
##forum_canstartnewdiscussion&lt;br /&gt;
##forum_canreply&lt;br /&gt;
##forum_caneditallpost&lt;br /&gt;
##forum_candeleteallpost&lt;br /&gt;
#Glossary&lt;br /&gt;
##glossary_canadd&lt;br /&gt;
##glossary_canedit&lt;br /&gt;
##glossary_candelete&lt;br /&gt;
##glossary_canaddnewcat&lt;br /&gt;
##glossary_canadditem&lt;br /&gt;
#Hotpot&lt;br /&gt;
##hotpot_candd&lt;br /&gt;
##hotpot_canedit&lt;br /&gt;
##hotpot_candelete&lt;br /&gt;
#Label&lt;br /&gt;
##label_canadd&lt;br /&gt;
##label_canedit&lt;br /&gt;
##label_candelete&lt;br /&gt;
#Lams&lt;br /&gt;
##lams_canadd&lt;br /&gt;
##lams_canedit&lt;br /&gt;
##lams_candelete&lt;br /&gt;
#Lesson&lt;br /&gt;
##lesson_canadd&lt;br /&gt;
##lesson_canedit&lt;br /&gt;
##lesson_candelete&lt;br /&gt;
##lesson_canparticipate&lt;br /&gt;
#Quiz&lt;br /&gt;
##quiz_canadd&lt;br /&gt;
##quiz_canedit&lt;br /&gt;
##quiz_candelete&lt;br /&gt;
##quiz_cantake&lt;br /&gt;
#Resource&lt;br /&gt;
##resource_canadd&lt;br /&gt;
##resource_canedit&lt;br /&gt;
##resource_candelete&lt;br /&gt;
#Scorm&lt;br /&gt;
##scorm_canadd&lt;br /&gt;
##scorm_canedit&lt;br /&gt;
##socrm_candelete&lt;br /&gt;
#Survey&lt;br /&gt;
##survey_canadd&lt;br /&gt;
##survey_canedit&lt;br /&gt;
##survey_candelete&lt;br /&gt;
#Wiki&lt;br /&gt;
##wiki_canadd&lt;br /&gt;
##wiki_canedit&lt;br /&gt;
##wiki_candelete&lt;br /&gt;
##wiki_canstartnewwiki&lt;br /&gt;
##wiki_canparticipate&lt;br /&gt;
#Workshop&lt;br /&gt;
##workshop_canadd&lt;br /&gt;
##workshop_canedit&lt;br /&gt;
##workshop_candelete&lt;br /&gt;
##workshop_canparticipate&lt;br /&gt;
&lt;br /&gt;
==Scenarios==&lt;br /&gt;
&lt;br /&gt;
This section is for brainstorming some example roles that we would like to support:&lt;br /&gt;
&lt;br /&gt;
===Parent===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Manager===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Weekly Seminar Leader===&lt;br /&gt;
&#039;&#039;In a university seminar, typically 8-15 students in their 3rd/4th year, each student is responsible for leading one topic in a study series.  I ask each student to research 5-10 resources, then give a powerpoint presentation to the other students.  This is followed by an in-class discussion and then online homework.  The homework involves some fun quiz questions and then some reflective journal questions.  I ask each seminar leader to prepare the quiz questions and journal questions as well as their presentation.  To do that, I would like to assign activity-making/authoring roles to the student--either for a short period, or for duration of the whole course.  Thus &amp;quot;Allow Quiz Authoring Role&amp;quot; or &amp;quot;Allow Assignment Authoring Role&amp;quot; at the course level or, if possible, even the Topic level (in a topic or week format course) would be important.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Mentor/Mentee===&lt;br /&gt;
&#039;&#039;Please add text here...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Community-Designed Rating Criteria===&lt;br /&gt;
&#039;&#039;The gradebook tends to be the domain of the teacher.  What if community/peer ratings/marks could also be entered there? What if peer assessment criteria could be designed by the students, not just the teacher?&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Visitor===&lt;br /&gt;
&lt;br /&gt;
This would be a role whereby one could allow a visitor to visit one&#039;s classroom. This might be a colleague interested in seeing your course, or a journalist who might be writing an article about one&#039;s site. They should not be able to see the names of any students anywhere (eg recent activity, forum posts) for privacy reasons. They should be able to try out things like quizzes, and lessons but no grades would be recorded (like in teacher preview mode). They would not be able to participate in choices and forums but could view them. It would be read only in a way like former-student role below but without access to a particular student&#039;s records that former student role would grant. &lt;br /&gt;
&lt;br /&gt;
===Former Student===&lt;br /&gt;
This role would be of particular use for courses with rolling enrollments. This role would be one where a student had completed all of the requirements of a course (ie assignments, quizzes etc.) but wished to have continued access to the course material for review or consultation. The key factor is that one would give access to the completed student to the notes he read, his work and the teacher&#039;s comments on it, but he would not be allowed to do anything that would take up the teacher&#039;s time. In other words, a sort-of read-only access to the course. How forums, which might contain pertinent information and would continue to grow, would be handled is a question. Perhaps the student would be shown only what was in the forums at the time he completed the course. He would not be allowed to see any new posts or add any himself. Same thing for database and glossary entries. In other words, a snapshot of the course at the time his regular enrollment ended. He shouldn&#039;t be able to see the names or profiles of any newly enrolled students for privacy reasons-hence the restrictions on forum access. One issue that would have to be dealt with would be changes to existing modules-such as resources. Does the student get access to the module as it was or as it is? We have no versioning of resources in Moodle so this would be a problem. What about a teacher changing a quiz question so that the answer is different? What would a former student see?&lt;br /&gt;
&lt;br /&gt;
===Librarian===&lt;br /&gt;
&lt;br /&gt;
Reference Librarians have an active role in most of the courses taught at Earlham College (with Bibliographic Instruction). The Librarian role within Moodle could encompass default read access to all courses (unless prohibited by course teacher) and read access to all components of the course unless access is barred (again by teacher). The Librarians would also perhaps have a block called perhaps Reference Services or Reference Desk with write access where they could deposit resources. Also this block might have a chat applet whereby enrolled students could chat to the Reference Librarian on duty about their bibliographic research needs.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=38788 Roles and Permissions architecture] forum discussion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Future]]&lt;/div&gt;</summary>
		<author><name>Markpearson</name></author>
	</entry>
</feed>