Development:PublicPrivate
From MoodleDocs
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
course
Field | Type | Default | Info |
groupautoassign | BIGINT(10) | 0 | autoincrementing, notnull, Group id to auto-assign members of the course. |
grouppublicprivate | TINYINT(1) | 0 | notnull, Whether public/private is enabled for that course. |
Overview of module communication
TODO: describe the following:
- initial setup
- how-it-works
- making a resource/activity public
- making a resource/activity private