"Admin switch role" still not right

"Admin switch role" still not right

Mary Cooch發表於
Number of replies: 5
Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Testers的相片 Translators的相片
Ok I *think* this is a switch roles issue related to this http://tracker.moodle.org/browse/MDL-23062 but I am not sure. As admin I made a post to the news forum and then to check that students couldn't respond to it I switched my role to student - and was able to edit or delete the post. When I logged in as an actual student, it worked fine (ie I couldn't do anything with the post)
附件 studentinnewsforum.png
評比平均分數: -
In reply to Mary Cooch

Re: "Admin switch role" still not right

Petr Skoda發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片
Maybe it was just the time when you are allowed to delete or update your own post, no?
In reply to Petr Skoda

Re: "Admin switch role" still not right

Mary Cooch發表於
Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Testers的相片 Translators的相片
But a student cannot post to a news forum so in the screenshot above it shouldn't have worked?
In reply to Mary Cooch

Re: "Admin switch role" still not right

Petr Skoda發表於
Core developers的相片 Documentation writers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片
the code checks that you posted + allowed editing time is not over yet, the switch role will never be 100% accurate, you need to use real login if you want to be sure. Did you try to verify it again, does it disappear after the 30 minutes?
In reply to Petr Skoda

Re: "Admin switch role" still not right

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片

Petr "the switch role will never be 100% accurate"

Very true. As far as I know of Moodle, the switch roles feature is there to enable a teacher to see more or less what the various parts of a Moodle course will look like to a student. The "more or less" aspect varies amongst activities and modules, sometimes it is 100% and for other activities it is near impossible to completely mimick the student role.

The only way to really test moodle as a student is to log in as a real (or dummy) student.

We can only hope that the switch roles feature of Moodle 2.x will be nearer that 100% for most activities than previous versions.

Joseph

In reply to Joseph Rézeau

Re: "Admin switch role" still not right

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
Petr "the switch role will never be 100% accurate"
Just found another example.
When logged in as Admin, Switch role to Teacher, the Settings block still displays the Site Administration menu, which is normally not displayed for the Teacher role.
Joseph