Am I missing something or is there no way to have categories' visible by audience? We use audience based visibility on courses extensively but this means some people see empty categories.
Thanks
Anthony
Am I missing something or is there no way to have categories' visible by audience? We use audience based visibility on courses extensively but this means some people see empty categories.
Thanks
Anthony
Hi Anthony
This sounds similar to a bug TL-4521 that was fixed in 2.5 that made categories not shown if the user can't see any course inside the category. Discussion on this is on https://totara.community/mod/forum/discuss.php?d=19003#p16043
The exception to this is for users with the capability to manage courses within a category or manage categories. Does the user have these capabilities?
regards
HI Craig
I think it's slightly different. We have audience based visibility on courses so let's say I have a category called Manager courses. In there are 10 courses all set to be visible only to Audience "Manager".
If a user is not in audience "Manager" they will see the category, but it will be empty.
I'd like to set the visibility on the category to either "Manager" audience, or better still have a rule in the system that says display only categories with courses I can see.
Hi Anthony
From the bug notes the behaviour for what happens with visibility depends on the role of the user. Is this what you are expecting?
1. Enable audience visibility (Go to Site administration > Advanced features)
2. Create a new category.
3. Create a course inse that category and go the "Audience-based visibility" section.
4. select visibility: visible to members of the selected audience.
5. select an audience with at least one member and save the course.
6. create a user to be the course creator for the previous category.
7. go to the category and assign the course creator to the user created above. (See left panel of the menu when selecting the category - assign roles)
8. create a user who won't play any role within the course or category.
In case you have more courses in that category and you are allowed to see them. you should see the category and the courses except for those which are restricted.
Hi Craig
In my case a non manager is fulfilling the role described in step 8. A user with no role in any course in the category. They can still see the category but it appears empty