I've been playing around with the "hiding" visibility and role configurations for the past several weeks and cannot for the life of me get the visibility of categories and classes to work the way I need them to.
I am integrating different businesses in the same instance of Moodle. I have structured the categories like so:
- Sitewide
- Business A
- Contractors
- Class AC101
- Class AC102
- Full-time employees
- Class AF101
- Class AF102
- Contractors
- Business B
- Class B101
- Class B102
- General Public
- Class G101
- Class G102
- Business A
1) I cannot allow Business B authenticated users to see Business A's categories OR classes.
2) I do not want Business A's Contractor authenticated users to see Business A's Full-time employees category or classes.
3) I want all authenticated users to see the General Public category and classes.
I've tried various combinations of hiding these classes from authenticated users at category and course levels. I have tried creating a separate role for Business A's Contractor authenticated users (inheriting from the default authenticated user role), overriding this custom role's permissions to allow to "see hidden categories" and "view hidden courses".
None of this is working, and it seems I have tried every combination of hiding categories/classes, custom roles and permissions...but maybe I haven't thought of that particular permutation that would make this work.
Can you please help me? I would forever be in your debt