Up to [LON-CAPA] / loncom / auth
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_7_X
Bug 5779 (introduced in 1.183 -- work on bug 3765): - If user was a DC in at least one domain, but was not a DC in the domain to which the CA role belonged, the assigned CA role could not be selected. - Fix is to check if DC actually has the CA role active in user roles in %env, before checking for DC status in the domain to which the CA belongs. If so, check if switchserver is needed. - Also check if requested CA role is actually for author space of current user - if so, set role request to AU instead of CA (CA in the user's own CSTR doesn't make sense).