Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

HTML Block in 2.2...different permissions for each instance?

$
0
0
by Mark B.  

Hi there,

On my front page of the moodle site i maintain i have created three different HTML blocks, what i am wanting to do is have each block displayed depending on what role you are.  On the first block i enabled it so that only Students can view it and a second block where only Teachers can view it.  This has appeared to work!  Am i right in thinking that permissions apply to each instance of the block you create and not the block as a whole on the Front Page?

If this is not meant to happen, how can i make it so that each block is displayed for users with different roles, will i just need to "clone" the block and use that instead? It definately does set the permissions for each instance though as when i look at permissions it changes for each one i go into...just wasn't sure if it was that easy or a bug and it is not meant to.

I would rather do it correct you see and so if somebody could say if i am doing it the right way then that would be great.


Many thanks,

Mark


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>