Totara Learn Open Discussions

Prevent access to courses or categories

 
Tabitha
Prevent access to courses or categories
ParkerTabitha 发表于 2019年11月26日 Tuesday 14:29
 

Is it possible to prevent an audience or an individual user from accessing a category or all courses in a category?

We are on a multi-tenanted site that uses categories for each organisation and have a case where we want to prevent an individual user from being able to sign up to any seminars in our courses. 

We thought perhaps we need an audience of blocked/banned users, and then we might be able to find a way to prevent that audience from accessing our seminars. 

We can do it with restrict access on toipcs or activities but there is no restrict access at category or course level that we can identify. 

e.g. Not available unless you are not a member of the audience blocked users (hidden otherwise). Not particularly keen to do this on an individual seminar or topic basis.


Thanks for any ideas from the community.

HellewellNeil
Re: Prevent access to courses or categories
HellewellNeil 发表于 2019年11月26日 Tuesday 15:07
 

Hi Tabitha - changing your site to Audience based visibility would probably be the most straight forward way to do this if this is a big issue for quite a few people - otherwise possibly a new role which then has the permissions removed to access categories (set at the category or course level). This could be a bit fiddly but could give quite course or category specific control.

Others may have some good thoughts as well :-)

ma te wa
Neil

Craig Eves
Re: Prevent access to courses or categories
Eves (Totara Support)Craig 发表于 2019年11月26日 Tuesday 17:54
小组 Totara

Hi Tabitha

Audience based visibility is a good suggestion to restrict an audience to viewing a course. Each course in the category would need to have the visibility set to enrolled users and members of a selected audience. 

You would also need to create an audience with a rule 'Is not a member' of the audience that has members you don't want to access the course.  This is required because you want to exclude the audience members rather than include them which is what the audience based visibility setting is.

Totara are working on a multi tenant feature for Totara 13 which will make the management of this easier.

Regards

DoublestormJesper
Re: Prevent access to courses or categories
DoublestormJesper 发表于 2020年12月3日 Thursday 01:47
小组 Partners

Hi Tabitha,

I know this is a very late answer, so you probably already solved the problem.

But for next time...


Create a new SYSTEM role called  "BANNED" or something:

For seminar signup capability set it to "FORBIDDEN".

Assign user to role banned.

Now user is incapable of signing up on any seminar in the whole system.


I saw this trick about forums where the goal was to stop single user to enter new or reply to messages in forums..