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.
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