Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Restrict access FAQ.

Restrict access FAQ: Difference between revisions

From MoodleDocs
(Added There is one [https://moodle.org/plugins/enrol_coursecompleted additional plugin for Moodle 3.2 y newer] -)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Conditional activities}}
{{Restrict access}}
==What IS restrict access?==


==What ARE Conditional activities?==
Restrict access is a feature that enables a teacher to release resources and activities for their students based on certain criteria such as date, grade received or participation.


[[Conditional activities]] is a feature that enables a teacher to release resources and activities for their students based on certain criteria such as date, grade received or participation.
==Where are the restrict access settings?==


==Where are the settings to use Conditional activities?==
'Conditional access' needs to be enabled by an administrator in ''Administration > Site administration > Advanced features'' and a teacher will then see "restrict access" options in the set-up screen of each activity.
 
The Moodle admin needs to enable it site wide in ''Settings>Site administration>Advanced features'' and a teacher will then see "restrict access" options in the setup screen of each activity.


==Can I make access to a course conditional upon completing another course?==
==Can I make access to a course conditional upon completing another course?==
Not currently, no. It is not possible to restrict access to course B until a student has completed course A. There are workarounds such as setting a final page at the end of course A which  is only revealed once the student has completed course A. In this page you can include the enrolment key for course B. However - this relies on trusting students not to pass the key onto others.
==Can I set conditional activities for a whole section, not just individual activities?==
{{New features}}
Yes you can. The settings are within each course section when you click the "edit" icon.


==We had Activity Locking in 1.9. Will it cause problems when upgrading to Moodle 2?==
Not currently, no. It is not possible to restrict access to course B until a student has completed course A. There are workarounds though such as setting a final page at the end of course A which  is only revealed once the student has completed course A. In this page you can include the enrolment key for course B. However - this relies on trusting students not to pass the key onto others.
If you are using the 1.9 AL version that uses the added course format called Activity Locking, then there should not be any upgrading issues.  


You could remove the code, which means deleting things from your server and data base.  
There is one [https://moodle.org/plugins/enrol_coursecompleted  additional plugin for Moodle 3.2 y newer] - With this plugin it is possible to create a chain of courses. After completion of a course, the student is automatically enrolled in one or more other courses. But it is also possible to give a user another role in the same course when he/she completes the course.


If you want remove things, do this prior to upgrading to 2.0. Of course, you will be making a backup of your site, database, and even your individual courses before upgrading to 2.0.
#Make a note of the conditions you have set on your activities since they will be deleted.
#Delete the activity locking block through moodle admin--then delete the block folder.
#Delete the AL course format folder.
#This is optional--leaving these should not break things, but it would be a good idea. Delete (e.g. via phpmyadmin) the four added columns to the course_modules table:


:`delay`
==Can I restrict access to a whole section, not just individual activities?==
:`visiblewhenlocked`
:`checkboxforcomplete`
:`checkboxesforprereqs</nowiki>s`


Now you can change your course formats back to topics, then after upgrade, reset your conditions with the new conditional activities code.
Yes you can. The settings are within each course section when you click the "edit" icon.


==See also==
==Can I hide an item, reveal it, and then hide it again?==


* Using Moodle [http://moodle.org/mod/forum/view.php?id=4295 Conditional activities forum]
Yes you can. See this forum post on [https://moodle.org/mod/forum/discuss.php?d=263547 using restrict access to make labels visible and then invisible].
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=167914 how to clear checks on completion page as admin user] forum discussion


[[Category:FAQ]]
[[Category:FAQ]]


[[de:Bedingte Aktivitäten FAQ]]
[[de:Voraussetzungen FAQ]]
[[es:Restringir acceso FAQ]]

Latest revision as of 13:48, 11 March 2018

What IS restrict access?

Restrict access is a feature that enables a teacher to release resources and activities for their students based on certain criteria such as date, grade received or participation.

Where are the restrict access settings?

'Conditional access' needs to be enabled by an administrator in Administration > Site administration > Advanced features and a teacher will then see "restrict access" options in the set-up screen of each activity.

Can I make access to a course conditional upon completing another course?

Not currently, no. It is not possible to restrict access to course B until a student has completed course A. There are workarounds though such as setting a final page at the end of course A which is only revealed once the student has completed course A. In this page you can include the enrolment key for course B. However - this relies on trusting students not to pass the key onto others.

There is one additional plugin for Moodle 3.2 y newer - With this plugin it is possible to create a chain of courses. After completion of a course, the student is automatically enrolled in one or more other courses. But it is also possible to give a user another role in the same course when he/she completes the course.


Can I restrict access to a whole section, not just individual activities?

Yes you can. The settings are within each course section when you click the "edit" icon.

Can I hide an item, reveal it, and then hide it again?

Yes you can. See this forum post on using restrict access to make labels visible and then invisible.