I am not sure but my problem may be relevant.
I am using 1.9.3, Build from 24 December.
Using the external DB plugin I created various editingteacher accounts and assigned them to their courses. The courses are set hidden (visible=0) since we want instructors to add content before students can access the course.
But although Moodle knows that an instructor has the role "editingteacher" for the course the instructor CANNOT access the course. (See attached XML file.)Tim Hunt suggested I try manually creating an editingteacher account to see if the problem is in the roles and capabilities system or in the external
database enrolment plugin. I did so but got the same results. Neither the manually created test001 account nor the database-created '1018325' account can access the hidden course.
Note, too, that I double checked to make sure that the editingteacher role does indeed have the capabilty of accessing hidden courses. I didn't check this inside
MySQL but rather through the administrative interface. If someone tells me how I would gladly check this internally as well.
As far as I know this problem did not occur in earlier releases/builds of 1.9.3, but maybe I am wrong.
Alan
PS/ There is obviously no chance that the "test001" instructor unassigned or changed its role in any way.