cyntaria / ConstructionERP-Backend

A REST API backend system for the construction ERP software made with NodeJS
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Roles API #24

Open arafaysaleem opened 3 years ago

arafaysaleem commented 3 years ago

Description

This epic is a sub goal of the epic for Persons API and provides information regarding roles. This epic requires few endpoints to be setup and tested along with their detailed documentation.

Initiative / goal

We want to be able to see all possible roles so that we can assign one to a person during account signup. This is the 1st API that should be worked on under Persons API, after Authentication API is complete.

Hypothesis

The following is true by the end of this API

Acceptance criteria and must have scope

We must have Authentication API setup prior to this. In the end we need to have a collection of following endpoints:

Note: πŸ”’ symbol indicates the route is protected and accessible to product owner only

Stakeholders

None

Notes

A single role can have one of the following role types:

Timeline

2 days are needed to setup all the foundation, along with testing and documentation. No blockers expected.