If an admin revokes 'read' permission to 'dotLRN Users' and the user has permission to read the document by other roles syllabus doesn't show the document.
Change the next code in function "
get_syllabus_info_list" to fix this bug:
Change this code
set rows [fs::get_folder_contents -folder_id $public_folder_id -user_id [dotlrn::get_users_rel_segment_id]
to
set rows [fs::get_folder_contents -folder_id $public_folder_id -user_id [ad_conn user_id]
And
set pretty_name "MESSAGE KEY MISSING: 'dotlrn-syllabus.pretty_name'"
to
set pretty_name [_ dotlrn-syllabus.pretty_name ]
Aditionally, to use this function from DS shell we should pass community_id to
dotlrn_community::get_portal_id.