From Jon Papaioannou (pj at moodle.org) Monday, 13 June 2005, 10:43 AM:
I did some research:
The problem starts from block_rss_client_action.php line 56. It doesn't get past the conditional.
This happens because $isteacher is always false, which happens because $course is always false, which happens because $courseid is NOT passed to this script. This finally points to rss_get_form() in rsslib.
In retrospect, it should be obvious from the navigation bar: if you see the course name in there, you can add feeds as a teacher. If not, you need to be an admin.
Incidentally, this doesn't have anything to do with course creator rights or anything. Just with editing teachers trying to add feeds to an rss block in their course.
Deferring to Daryl, as I don't know the code well enough to decide how/when $courseid should be passed around.
From Daryl Hawes (dhawes at mac.com) Monday, 1 August 2005, 10:08 PM:
Code to fix this has been added to moodle HEAD, 1.6dev.
I'll leave the bug open a bit longer in case anyone testing the changes finds other problems.
From Jon Papaioannou (pj at moodle.org) Monday, 1 August 2005, 10:20 PM:
Wow, lots of files changed. This could make it non-trivial to patch MOODLE_15_STABLE as well, but IMHO it needs to be done.
Please have a go at it when you have time to (and after possibly waiting a bit for any testers on 1.6).
From Daryl Hawes (dhawes at mac.com) Thursday, 4 August 2005, 10:25 AM:
Closing bug. Fix in 1.6dev and merged back to 15_STABLE