G-authy / g-authy.github.io

Apache License 2.0
1 stars 0 forks source link

RBAC (Role-Based Access Control) #5

Open muhammedabdelkader opened 9 months ago

muhammedabdelkader commented 9 months ago
muhammedabdelkader commented 9 months ago

https://github.com/G-authy/g-authy.github.io/commit/e2c88ebb4dee282e6e53c993a4db323b9e58f5b2

mostafaelnakeb commented 9 months ago

COntrols on system 1- Tanent has an owner. 2- each tanent contains at least group 3- each group contains at least a user 4- there is no user without group 5- resource will have one owner 6- the permission will be handled from the permission table

the user permission will be the union of group permission and his permission

muhammedabdelkader commented 9 months ago

All implementation for this issue will use the branch 5-rbac-role-based-access-control

muhammedabdelkader commented 9 months ago

Regard to permissions, roles, secrets, tenants, users, and vaults. Below is a simple conceptual representation:

Vault:

Role:

Permission:

User:

Group:

Tenant:

Secret:

Here's a textual representation to illustrate relationships:

Vault:

Roles:

Permissions:

Users:

Groups:

Tenants:

Secrets:

muhammedabdelkader commented 9 months ago

KISS swagger https://github.com/G-authy/g-authy.github.io/blob/main/g-authy/docs/swagger.yaml