OnRampOrg / onramp

OnRamp to Parallel Computing - an educational web portal for learning to use parallel systems.
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Create authentication wrapper for views #114

Open chaseknudson opened 7 years ago

chaseknudson commented 7 years ago

We need a wrapper for all python views to ensure that the user making the request is authenticated and has permission to make the request.

Expected Behavior

Should verify the user is logged in and has a valid session. Also there should be two sets of permissions, user and admin and we need to make sure that the user has permissions to access the view they made the request to. For example a regular user does not have the ability to create a new workspace, only admins should be able to do this.

┆Issue is synchronized with this Asana task