add skeleton test class
add teacher restrictions dynamic settings fields
fix facility.views.py imports and add in dynamic settings
if restricted, don't allow the teacher to load the create/edit facility button
remove stub teacher_cant_delete_facilities (already implemented)
if restricted, don't allow teachers to create students
apply the dynamic_settings decorator first
lint control_panel imports
if restricted, don't allow teachers to edit students
if restricted, don't allow teachers to delete students
wrap RESTRICTED_TEACHER_PERMISSIONS default value inside getattr
turn on RESTRICTED_TEACHER_PERMISSIONS if we're in nalanda
add missing endif
Merge pull request #2631 from aronasorman/2592/restrict_teachers

Restrict teacher permissions when specified by local settings