Skip to content

BARJ/go-role-based-authorization-example

Repository files navigation

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

About

Role-based authorization with Golang and JWT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages