trebol-ecommerce / trebol-backend-monolith

Monolithic eCommerce backend web application that exposes a RESTful API.
MIT License
16 stars 21 forks source link

Implement API resource for fetching available user roles #9

Closed bglamadrid closed 3 years ago

bglamadrid commented 4 years ago

When creating new users using the Data Management API, their role must be specified. The accepted roles should be fetched by querying an API route such as /data/user_roles, and access to this route should be very restricted.