frappe / lms

Easy to Use, 100% Open Source Learning Management System
https://frappe.io/learning
GNU Affero General Public License v3.0
952 stars 432 forks source link

Add Option to Disable Public URLs in Frappe LMS #1023

Open yoc-san opened 2 weeks ago

yoc-san commented 2 weeks ago

Description We want to use Frappe LMS for internal training and employee onboarding purposes. These courses should not be available or visible on public URLs, ensuring they remain accessible only to our internal users.

However, I couldn't find a way to disable the /courses or any other publicly accessible URLs in the LMS. After reviewing the documentation and the settings, it seems like there is no built-in method to restrict public access to these pages.

Request It would be highly beneficial to have a feature that allows administrators to toggle the visibility of the LMS pages, especially the course listing (/courses) and other publicly accessible URLs, making the content private or restricted to logged-in users only.

Expected Behavior

Admins should have an option in the LMS settings to disable public access to course URLs. When this option is enabled, non-logged-in users should not be able to view the courses or any LMS-related content. This feature would allow us to use the LMS solely for internal training purposes.

Thank you for considering this request. It would greatly improve the flexibility and security of Frappe LMS for companies looking to use it for internal purposes.

yoc-san commented 2 weeks ago

@NagariaHussain @pateljannat