API not available to check user activity access

API not available to check user activity access

by Aniket Sankpal -
Number of replies: 0


In Moodle 3.2 there is no Web service API function available which can check whether the user has access to the course activity or not.


I am looking for an API function which can return the user can have access to the activity or not By passing user id and cmid.


For eg, if user has not completed with previous activity then he should not get access to the current activity based on the activity restriction criteria.

Average of ratings: -