Roles and blocks

Roles and blocks

by Bill Steele -
Number of replies: 0

What I am looking to do is to make a block available only to a particular role. This seems easy enough but I want to allocate users to the role based on what course they are enrolled on. Is there a means of assigning users to a role based on their existing course or courses. It doesn't matter if this is quite an involved process as it should only need to be done once and I have full access to the database

Thanks

Average of ratings: -