Totara Learn Open Discussions

Restrict Access to an HTML Block

 
? ?
Restrict Access to an HTML Block
by ? ? - Monday, 19 March 2018, 7:49 AM
 

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
by George Angus - Monday, 19 March 2018, 3:12 PM
Group 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
by George Angus - Monday, 19 March 2018, 4:09 PM
Group 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
by ? ? - Tuesday, 20 March 2018, 12:49 AM
 

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
by George Angus - Tuesday, 20 March 2018, 1:50 PM
Group 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
by ? ? - Wednesday, 21 March 2018, 12:40 AM
 

Thank you George.

I will try through this way.