goadesign / gorma

Storage generation plugin for Goa
http://goa.design
MIT License
140 stars 35 forks source link

Security #88

Closed bketelsen closed 8 years ago

bketelsen commented 8 years ago

This PR is meant to coincide with the goa PR that introduces a new security DSL.

It generates code that creates Role constants, with a list of scopes assigned to each Role. It also generates the required fields in a User model to get the roles that a User belongs to for adding to the JWT token.

bketelsen commented 8 years ago

closing to restart based on new goa changes.