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, 10 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.