Skip to content

cs280fa22/cw19-roster-api-part-4-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roster API

Add a role attribute to User schema

Update UserDao to account for the role attribute

Update users.js to account for the role attribute

Add the role attribute to the token (auth.js)

Check permission!

  • Instructors can perform all operation on "user" resources
  • Students can only operate on their own account

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages