dmarro89 / dare-db

Dare-DB is a lightweight in-memory database written in Go, featuring Redis-inspired hashtables and HTTP/HTTPS endpoints for seamless data storage and retrieval, with Docker support for easy deployment
MIT License
53 stars 6 forks source link

Improve Authorization flow #45

Open dmarro89 opened 2 months ago

dmarro89 commented 2 months ago

Currently there's no way to create new users calling the APIs or change roles and authorization for users.

There should be added:

The creation/update/delete of the roles must follow the RBAC casbin template -> https://github.com/dmarro89/dare-db/blob/main/auth/rbac_policy.csv