File:  [LON-CAPA] / loncom / auth / roles.tab
Revision 1.51: download - view: text, annotated - select for diffs
Wed Nov 29 07:46:41 2006 UTC (17 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
evb privilege - with this privilege users evade blocking of communication functionality defined by blocks placed by users with dcm privilege.

dcm privilege - this is now used to determine if link to block setting is displayed.

loncommon::findallcourses() now return a hash, where the keys are courseIDs instead of an array of courseIDs.  Places where findallcourses() was called - lonannounce, lonpickcourse changed accordingly.

loncommon::findallcourses() now reports courses for a user where the user's only role was a custom role.

lonnet::allowed() can now take a fourth optional argument ($role) which allows privs to be investigated for roles other than the user's currently active role

&blockcheck, &parse_block_record(), and &build_block_table() moved from lonmsgdisplay to loncommon, so they are available for evaluation of blocking state for other communication functions besides COM.

Each block record for a blocking event in a course is now a hash, with key=values of the hash being setter = username:domain of user who set block, title=event title for block, and blocks = hash of blocked features ('com','chat','boards','port','groups').

Backwards compatibility retained with previous : separated text for block record value.

    1: su:s csu&U:sma:mau:cdc&U:dro:psa:adv
    2: dc:s bre:sma:adv:mcr:srm
    3: dc:d cli&UIK:cau&UIK:cca&UIK:caa&UIK:cdg&UIK:mau:ccc&U:cin&UIK:cta&UIK:cep&UIK:ccr&UIK:cst&UIK:cad&UIK:csc&UIK:dro:mky:psa:usc:mpq
    4: cc:s bre:sma:mcr:vsa:adv:vcl
    5: cc:c cin&IK:cta&IK:cep&IK:ccr&IK:cst&IK:are:cre:ere:vgr:gan:dcm:evb:srm:opa:mgr:mqg:mgq:rin:pch:plc:mdc:usc:vsa:vcl:mdg:vcg:pav:pfo:whn
    6: in:s sma:vgr:adv:vcl
    7: in:c vgr:mgr:mqg:mgq:gan:dcm:evb:srm:pch&C:plc&C:dch:pac:rin:las:opa:bre:vcl:vcg:pav:pfo:whn
    8: ta:d sma
    9: ta:c bre&RL:vgr&CR:mgr&CR:mqg&CR:pch&C:plc&C:dch:pac:vcg:pfo:whn
   10: ep:s adv
   11: ep:d sma
   12: ep:c bre&R:mgr&R:mqg&R:dcm:evb:las:pav:pfo
   13: cr:s adv&SR:bre&S
   14: cr:d sma
   15: cr:c bre&R:vgr&SCR:mgr&SCR:mqg&SCR:mgq&SCR:gan&SCR:dcm&SC:evb&SC:srm&SC:pch:plc:dch&S:pac:rin&S:las&SR:opa&SR:mdc&SR:cst&IK:pav&C:pfo&C:whn&C
   16: st:d sma&L
   17: st:c bre&RXL:pch&CL:plc&CL:pac&CL
   18: ad:s adv
   19: ad:d sma
   20: ad:c bre:gan:vgr:dcm:evb:srm
   21: li:s gan:sma:adv
   22: li:d mme
   23: au:s gan:sma:bre:cre:adv:pav:pfo
   24: au:d are:ere:cca&IK:caa&IK
   25: ca:s gan:sma:bre:cre:adv:pav:pfo
   26: ca:d are:ere
   27: aa:s sma
   28: aa:d are:ere
   29: dg:d bre&R
   30: sc:d usc
   31: 
   32: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>