The data describing the CSCF Points of Contact is maintained in three places.
Host: postgres.cs
Database: postgres
User: _cscf_web
Table "_cscf.point_of_contact" Column | Type | Modifiers | Storage | Description --------+-------------+-----------+----------+-------------------------------------------------------------------------------- userid | text | not null | extended | the WatIam userid (8 characters) of the person who is a Point of Contact (PoC) type | client_type | not null | plain | who or what the "client" is client | text | not null | extended | who or what "userid" is the PoC for. Indexes: "point_of_contact_pkey" PRIMARY KEY, btree (userid, type, client) Schema | Name | Internal name | Size | Elements | Description --------+-------------+---------------+------+----------+---------------------------------------------------------------------------------- _cscf | client_type | client_type | 4 | course +| the client, group of clients, or activity that one can be a Point of Contact for | | | | userid |
An example of the data:
postgres=> select * from _cscf.point_of_contact order by client limit 4; userid | type | client ----------+--------+-------- echrzano | course | CS100 echrzano | course | CS115 echrzano | course | CS116 echrzano | course | CS135
An example of adding to the data:
% psql -h postgres.cs -d postgres psql (9.3.5, server 9.2.6) SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) Type "help" for help. postgres=> set role to _cscf_root; SET postgres=> set search_path to _cscf, public; SET postgres=> insert into point_of_contact (userid, type, client) values ('omnafees', 'course', 'CS492'); INSERT 0 1 postgres=> insert into point_of_contact (userid, type, client) values ('omnafees', 'course', 'CS692'); INSERT 0 1 postgres=> \q
An example of updating the data:
% psql -h postgres.cs -d postgres psql (9.3.5, server 9.2.6) SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) Type "help" for help. postgres=> set role to _cscf_root; SET postgres=> set search_path to _cscf, public; SET postgres=> update point_of_contact set userid = 'omnafees' where client = 'CS137'; UPDATE 1 postgres=> update point_of_contact set userid = 'fhgunn' where client = 'CS492'; UPDATE 1 postgres=> \q
The above examples assume the invoker can assume the _cscf_root role.
The course points of contact WWW page uses userid "cscf-dat" to control access to the "_cscf_web" password which is needed to read the data, as described in the general approach to access of public data.