Totara Learn Open Discussions

Restrict Access to an HTML Block

 
? ?
Restrict Access to an HTML Block
על ידי ? ? בתאריך 19/03/2018, 07:49
 

Dear All,

Is it possible to set up a restrict access to an HTML block?


Thank you

Alessio

me
Re: Restrict Access to an HTML Block
על ידי George Angus בתאריך 19/03/2018, 15:12
קבוצה Totara
Hi Alessio,


Theres a viewblock role capability: View block moodle/block:view, this will restrict the viewing of all blocks for users with a particular role.

Probably a better solution would be to have the block on a dashboard and restrict access to that.

cheers,

George.

me
Re: Restrict Access to an HTML Block
על ידי George Angus בתאריך 19/03/2018, 16:09
קבוצה Totara
Hi Alessio,


Clarification - the viewblock capability can be applied to roles in the block, so its possible to hide the block by role via the Permissions setting.

cheers,

George

? ?
Re: Restrict Access to an HTML Block
על ידי ? ? בתאריך 20/03/2018, 00:49
 

Hi George,


Thank you for your reply. I would like to show the HTML block only to a specific group of users who have complete some activities within a course.

The role setting is too strict in that case, isn't it?

me
Re: Restrict Access to an HTML Block
על ידי George Angus בתאריך 20/03/2018, 13:50
קבוצה Totara

Hi Alessio,

You could use Restricted access in the course to enable a Label to be seen by users who have complete specified activities. 

cheers,

George.

? ?
Re: Restrict Access to an HTML Block
על ידי ? ? בתאריך 21/03/2018, 00:40
 

Thank you George.

I will try through this way.