Route Based Access Control
Access Control is a very basic problem. There are a ton of libraries in Flask which offer the solution for implementing Role Based Access Control (RBAC).
In REST API, the resources are mapped to a particular entity in the DB. Thus, having POST access to a…