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.
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.