Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 525 Bytes

File metadata and controls

20 lines (13 loc) · 525 Bytes

Role-based authorization with Golang

Usage

Run the application (go run .) and import the Postman collection (index.postman_collection.json).

Technology

Dependencies:

Domain

Jokes

Access rights:

  • Anyone can search jokes
  • Registered users (has role User) can create jokes
  • Users with admin rights (has role Admin) can delete jokes