Best practice forum (Archived)

Limit viewing on courses by using organizations or positions

 
Umberto Zaccaro
Limit viewing on courses by using organizations or positions
by Umberto Zaccaro - Wednesday, 6 February 2013, 1:58 PM
Group Partners

Hi everybody,

we have this kind of need.

We want to limit viewing on course by using organizations or positions.

The scope is to create courses for a specific organization that users in other organizations can not view completely, title and metadata also.

The best would be to create a course specific for a top organization and this course will be visible to entire hierachy.

Instead if we create a course on the lower organization this one will be visible just to this organization.

It is not important if to do this we use positions instead of organizations.

It is important to limit visibility on courses.

Thank you very much for any suggestion or idea about this.

Thank you in advance.

Kind Regards

Umberto

me
Re: Limit viewing on courses by using organizations or positions
by George Angus - Wednesday, 6 February 2013, 6:54 PM
Group Totara

Hi Umberto,

There is no easy way to do this at present, there is some guidance to possible workarounts as below:


https://moodle.org/mod/forum/discuss.php?d=205027 

http://tracker.moodle.org/browse/MDL-33823 

"Basically in short moodle/course:view is an admin capability that does not hide courses but allows site administrators to view the content of courses without being enrolled. By design, all courses are supposed to be visible to all learners and there is currently no way to hide courses by role in the way you would like. There is still ongoing discussion on how best to allow more flexibility on course visibility, so things may change in future. 

Now in saying that, there are a couple of possible workarounds, coming at the problem from two different directions. 

Firstly if you want to hide courses from most users and only show them to users in a particular role (I realise it's the opposite to what you requested but still may be useful information) then you can set the course to hidden (course settings, Availability, select "This course is not available to students"), and then in the Course Roles, Override Permissions tab, override the role you want to see the course, setting capability moodle/course:viewhiddencourses to Allow. 

Alternatively, to hide particular courses from a subset of users who are assigned to a particular role, then the only way to do this would be to hide *all* courses by default, give the site Learner Role the moodle/course:viewhiddencourses capability at site level, make sure the capability in the Agent role is Not Set, then override course role permissions on the subset of courses that the Agent role is allowed to see, giving them the moodle/course:viewhiddencourses capability in the course context. 

You would probably also want to remove/change the CSS that shows hidden courses links with a dimmed gray text on a site like this. They are found in theme/standard.styles_color.css

I realise it is a pretty clunky workaround but there doesn't seem to be any other way to do this with the permissions system as it stands in Moodle 1.9/Totara 1.1"

There is progress being made on this problem, but there is no solution date as yet.

hope this helps,

Regards,

George.

Umberto Zaccaro
Re: Limit viewing on courses by using organizations or positions
by Umberto Zaccaro - Friday, 8 February 2013, 12:49 AM
Group Partners

Hi George,

thank you for your informations.

I tried to implement your suggestions but we are still far from our scope.

I was thinking to other way to do this. Is it possible, in any way, to allow a view on course category just to some organization  while the manager try to assign a course to his team?

Thank you very much indeed.

Kind Regards

Umberto

me
Re: Limit viewing on courses by using organizations or positions
by George Angus - Tuesday, 12 February 2013, 12:52 PM
Group Totara

Hi Umberto,

This is not possible at present, but it is on the roadmap for 2.5 in September October.

http://www.totaralms.com/feature-a-benefits/roadmap

regards,

George.

This forum post has been removed
Wednesday, 13 February 2013, 7:07 AM
The content of this forum post has been removed and can no longer be accessed.
me
Re: Limit viewing on courses by using organizations or positions
by George Angus - Wednesday, 13 February 2013, 6:55 PM
Group Totara

Hi Niek,

My mistake, it looks like this wont be happening until 2.6.

regards,

George.

This forum post has been removed
Thursday, 10 October 2013, 5:14 PM
The content of this forum post has been removed and can no longer be accessed.
Bodo Hoenen
Re: Limit viewing on courses by using organizations or positions
by Bodo Hoenen - Thursday, 6 June 2013, 10:45 AM
 

I just want to add a "Me Too" for the functionality to restrict visibility of courses and categories to users of a particular org or position within the Totara Hierarchies. This would make a great addition. 

 

 

This forum post has been removed
Wednesday, 13 February 2013, 8:53 PM
The content of this forum post has been removed and can no longer be accessed.