iporaitech / pwr2-docker

ARCHIVED: Docker image based on Ubuntu with Elixir and Phoenix Framework integrated with Webpack+Relay+React
MIT License
20 stars 6 forks source link

Authentication and Authorization #33

Closed hisapy closed 8 years ago

hisapy commented 8 years ago
  1. Add Login and Logout mechanisms to handle authentication using JWT.
  2. Add a basic role based authorization system with 3 hardcoded roles: superadmin, admin and user (default). Make the role required in the model.
hisapy commented 8 years ago

We have some test coverage here but there are some pending specs and there is no integration tests or unit tests in the front-end that's why I added the need tests label.