site permissions: add class list by section number, or by external group code
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 28 Dec 2010 00:40:52 +0000 (00:40 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 28 Dec 2010 00:40:52 +0000 (00:40 +0000)
commitd5c14fcd5d4d626ddde73ebeee9cc438a7e0c171
tree1c4a6e922d1b31c7d2859bfde41df48700f728e3
parent58acb8921ecf6e794be06adb3e620c3ec7cca745
site permissions: add class list by section number, or by external group code

If you provide a hook function, 'derive_group_code_from_section',
mapping section numbers onto external group/class-list codes (in the
context of a given site), then users can easily add sections to course
sites, just by providing the section number(s). If not, then the part
of the UI related to section numbers is not displayed.

Note that external group members are loaded lazily: we don't know who
belongs to an external group until they log into Syrup, and their
external memberships are updated.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1122 6d9bc8c9-1ec2-4278-b937-99fde70a366f
conifer/integration/uwindsor.py
conifer/syrup/integration.py
conifer/syrup/views/sites.py
conifer/templates/edit_site_permissions.xhtml