PublicPrivate: Difference between revisions
From MoodleDocs
Line 45: | Line 45: | ||
|VARCHAR(36) | |VARCHAR(36) | ||
|NULL | |NULL | ||
|This field indicates whether the user was auto-assigned to a group, or not. | |This field indicates whether the user was auto-assigned to a group, or not. (as opposed to manually added) | ||
|} | |} | ||
Revision as of 21:48, 9 July 2009
Executive Summary
This page will spec out the features of Public/Private.
Public/Private is a means whereby any resource within moodle can be made private to only members of that course, or public and available to anyone that visits that site (including guests).
A practical use for this feature is making the syllabus public so that potential students can shop around for classes, but the rest of the course material is private and only available to the members of that course.
Database structures
Below are the fields that are added to the already existing table.
course
Field | Type | Default | Info |
groupautoassign | BIGINT(10) | 0 | Group id to auto-assign members of the course. |
grouppublicprivate | TINYINT(1) | 0 | Whether public/private is enabled for that course. |
groups_members
Field | Type | Default | Info |
type | VARCHAR(36) | NULL | This field indicates whether the user was auto-assigned to a group, or not. (as opposed to manually added) |
Overview of module communication
TODO: describe the following:
- initial setup
- how-it-works
- making a resource/activity public
- making a resource/activity private