Only let certain users view html block

Only let certain users view html block

από Mary Cooch -
Αριθμός απαντήσεων: 3
Φωτογραφία Documentation writers Φωτογραφία Moodle HQ Φωτογραφία Particularly helpful Moodlers Φωτογραφία Testers Φωτογραφία Translators
I'm stuck! I want only a certain group of users to see a block on the front page so I made them a profile of their own -clicked on the block, and went to overrride permissions - prevented everyone except that group from seeing the block and discover that if I prevent authenticated users from seeing it - then nobody can see it - but if I allow authenticated users to see it -then everybody can see it. I must be missing something really simple...thoughtful (I am hoping that merely by posting this I will come up with the solution, as I usually do!)
Μέσος όρος βαθμολογίας: -
Σε απάντηση σε Mary Cooch

Re: Only let certain users view html block

από Mary Cooch -
Φωτογραφία Documentation writers Φωτογραφία Moodle HQ Φωτογραφία Particularly helpful Moodlers Φωτογραφία Testers Φωτογραφία Translators
And indeed I didsmile I sorted out all the role overrrides etc, but forgot actually to assign the role to the people I wanted to see it -doh!
Σε απάντηση σε Mary Cooch

Re: Only let certain users view html block

από Lisa Dodson -

Can you tell what permissions you gave?  I'm having the same problem.

I created a HTML block on the front page.  I created a role (called Trainer) specifically for use with the block.  Gave them permissions to view the block.  I went to the student role and set the prevent setting on viewing the block.

When I sign in as my test student, I can see the block.  I don't want the student to see the block.   I don't have any students or trainers set in system roles.

What am I doing wrong?  Roles completely confuse me, regardless of how much I read about them. 

Σε απάντηση σε Mary Cooch

Re: Only let certain users view html block

από Lisa Dodson -
aha!  I figured it out myself.  I changed the front page role from "authenticated user" to "student", and logged back in as the student role and it is no longer there.  Logged in as the trainer role, and it was there!   much better...