Fixed teacher permission to view resources