Best practice forum (Archived)

Limit viewing on courses by using organizations or positions

 
ZaccaroUmberto
Limit viewing on courses by using organizations or positions
ZaccaroUmberto 发表于 2013年02月6日 Wednesday 13:58
小组 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
AngusGeorge 发表于 2013年02月6日 Wednesday 18:54
小组 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.

ZaccaroUmberto
Re: Limit viewing on courses by using organizations or positions
ZaccaroUmberto 发表于 2013年02月8日 Friday 00:49
小组 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
AngusGeorge 发表于 2013年02月12日 Tuesday 12:52
小组 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.

该论坛帖子已被删除
2013年02月13日 Wednesday 07:07
该论坛帖子的内容已被删除,无法再访问。
me
Re: Limit viewing on courses by using organizations or positions
AngusGeorge 发表于 2013年02月13日 Wednesday 18:55
小组 Totara

Hi Niek,

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

regards,

George.

该论坛帖子已被删除
2013年10月10日 Thursday 17:14
该论坛帖子的内容已被删除,无法再访问。
HoenenBodo
Re: Limit viewing on courses by using organizations or positions
HoenenBodo 发表于 2013年06月6日 Thursday 10:45
 

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. 

 

 

该论坛帖子已被删除
2013年02月13日 Wednesday 20:53
该论坛帖子的内容已被删除,无法再访问。