I've created a User Tour for the Dashboard page
/my/% and set the tour filter role to teacher (all other filters are set to "all"). When logged in as a teacher, the Dashboard tour does not display and the tour link at the bottom of the page is not present. If the tour filter role is changed to administrator, then the tour does display properly when logged in as an administrator.
The Dashboard page is the only page which seems to have this issue. Tours setup for other pages with the filter role set to teacher operate just fine when logged in as a teacher.
I'm wondering if this might be a bug with User Tours. Has anybody else experienced this issue?
(Running Moodle 3.4+, Build 20171228, User Tours included with Moodle package)
Hello. I suspect it is not a bug but the fact that the dashboard is not dependent on a role, so Moodle doesn't know that a person is a teacher or student when the dashboard page is displayed. You could probably get around it by creating a new custom role (eg Dashboard teacher) and giving that role in the system context to all your teachers and then setting the tour on the dashboard to display for 'Dashboard' teachers... it depends on how important you feel it is that teachers should have their own user tour different from students.
Thank you Mary for your insight into this issue. Your assessment of the issue makes perfect sense and you've provided a good solution.