Students, admins, teachers, and classes
- To: firstname.lastname@example.org
- Subject: Students, admins, teachers, and classes
- From: "Alexey Parshin" <email@example.com>
- Date: Thu, 31 May 2007 09:25:21 +1000
- Delivered-to: mailing list firstname.lastname@example.org
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=cyMl0hUk7jnky0x7b9tyIfDDVdf/Dmwtu9uFEpIZvSpGcxnDryiyclKoxLBZyM2KGNurHTg4mNRx3BTAfZZE098pHlYIHNy3BesbswPG0DJyCciEsNghM8eG623tNONeeMW8Db4HT7HIaN0/jq2tUBwB2N8fZ+gtjhhl97vvKuM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=SxT0ObvWgziYXrDMxXqi1KCHHTOb6FyBjhnCFqNk6WiRWwMmFtkGF9a14NQOd/4SkPO+RL1mcQ9ub2ejtEgUUJsCY5xWSjAbqquzl5xGfRXzbFlGb1jOM0eetzQkcegOGQDNKs81rO/dVXChjF0OyEzcQwmvOsbpAjCLwy/uOME=
- Mailing-list: contact email@example.com; run by ezmlm
I'm trying to implement the class and its relations to UMOs.
It looks like the idea to have three fixed groups (students, admins, teachers) is the only one that works in most situations.
The idea to have flags (is_admin,is_teacher) seemed attractive but: we still need to have several groups. The reasons: marking a person within a group allows us to define, for instance, his admins rights to control the group. But it doesn't change or define any of his rights over UMOs within the course. We can only have it on the group level.
This means, that we still need several groups for every class. Now, the number of these groups can be fixed (that simplifies the code) or variable (I still need to understand - what sense does it make).
In case of three-group schema, the helper functions may use the group type (to-be-added to the group_list), STUDENTS/ADMINS/TEACHERS (from the to-be-created group_type table), to return person's right within the class:
These functions may be used to validate some user actions..