How to hide (or edit) sidebar in frappe lms?

I need to disable sidebar to students and make it available only to teachers. Also I need to hide certain buttons that are not available in settings. Thanks.