[ARCHIVED] Restrict modules items in REST APIs if Modules left navigation menu is disabled

Jump to solution
dp
Community Explorer

When I disable the Modules from the left navigation menu, the Modules menu is disappeared from the left menu which is fine. Though the Modules is disabled, I can see all the modules from the rest APIs. Is there a way to restrict the modules items of a course if the Modules left menu is disabled? In case of Files, if I disable Files left navigation menu and try to get course files from the REST APIs, I do not get files instead I do get unauthorized. Is there a way to get such behaviour for Modules as well?

354462_Modules disabled.png

Labels (2)
0 Likes
1 Solution
James
Community Champion

 @dp  

No, this cannot be disabled. 

View solution in original post

0 Likes