implemented permissions and student/resource relations; updated views accordingly
Revert "implemented permissions and student/resource relations; updated views accordingly"

This reverts commit 30b83bfc90d5c39fe4fa9c271a5501d0a5971528.
Revert "Revert "implemented permissions and student/resource relations; updated views accordingly""

This reverts commit fefa2b910737a1fc33a094eb1abd622b1d216ba0, reversing
changes made to 30b83bfc90d5c39fe4fa9c271a5501d0a5971528.