Up to [LON-CAPA] / loncom / auth
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: BZ5434-fox
Bug 5842. - "Edit this resource" link is displayed in inline menu if user is a DC in domain of resource author, and author has not blocked DC access to CSTR. - request for /priv/$author sets ad hoc co-author privs for user (if no existing privs) if user is a DC in author's CSTR, and if DC access is not blocked by author's user prefs. &check_privs(), &set_privileges(), and &role_status() moved from lonroles.pm to lonnet.pm -- first two renamed as: check_adhoc_privs(), set_adhoc_privileges(). &is_active_dc() added to loncacc.pm to check if user has active DC role in resource author's domain.