makeopensource / devU

Autograder version 4
10 stars 13 forks source link

Roles #96

Closed jessehartloff closed 4 months ago

jessehartloff commented 4 months ago

Proposed changes


Add roles and authorization to the app. This includes restructuring the schema for paths. Any content associated with a course starts with /course/:courseID and that id is used to check if the user has the correct permission in that course.

Self permissions, where users can only access a resource that they own, is still a work in progress.

Resolves: #23

Types of changes


What types of changes does your code introduce? Put an x in the boxes that apply

Checklist


Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is simply a reminder of what we are going to look for before merging your code.