CGI-FR / IoT-Hub-Portal

IoT Hub Portal is a solution for handling IoT Devices easily. It leverages on Azure IoT Hub / AWS IoT Core for connectivity and device management.
https://cgi-fr.github.io/IoT-Hub-Portal/stable/
MIT License
32 stars 11 forks source link

Task: RBAC - Model Design #2696

Open kbeaugrand opened 10 months ago

kbeaugrand commented 10 months ago

Story: #2694

Description Define the structure of the RBAC model including roles, permissions, and hierarchical scopes, establishing relationships between them. Determine the parent-child relationships between scopes within the hierarchy.

TLeoDev commented 10 months ago

Story Reference

Introduction

This document outlines the structure of our system's RBAC (Role-Based Access Control) model, detailing the roles, permissions, hierarchical scopes, and their interrelationships.

RBAC Model :

Image

Actions

Roles

Access Control

Users and Groups

Hierarchical Scopes

Examples

Scenario: Enterprise with Multiple Departments

Role and Access Control Configuration

Hierarchical Scopes and Permissions

Conclusion

This example illustrates how the RBAC model can be effectively used to manage permissions in a complex environment. By assigning roles and scopes wisely, the system ensures security and operational efficiency, allowing specific actions in designated areas while preventing unauthorized access to sensitive equipment or areas.

kbeaugrand commented 10 months ago

@TLeoDev please review your previous comments regarding our internal discussions about the actions and access control managements

TLeoDev commented 10 months ago

Story Reference

Introduction

This document outlines the structure of our system's RBAC (Role-Based Access Control) model, detailing the roles, permissions, hierarchical scopes, and their interrelationships.

RBAC Model :

Image

Roles

Access Control

Users and Groups

Hierarchical Scopes

Examples

Scenario: Enterprise with Multiple Departments

Role and Access Control Configuration

Hierarchical Scopes and Permissions

Conclusion

This example illustrates how the RBAC model can be effectively used to manage permissions in a complex environment. By assigning roles and scopes wisely, the system ensures security and operational efficiency, allowing specific actions in designated areas while preventing unauthorized access to sensitive equipment or areas.

TLeoDev commented 6 months ago

Some changes in the RBAC design (addition of the Principal concept) :

Story Reference

Story: #2694

Introduction

This document outlines the updated structure of our system's RBAC (Role-Based Access Control) model, detailing the roles, permissions, hierarchical scopes, their interrelationships, and the integration of a new Principal entity to unify the management of Users and Groups.

RBAC Model:

Image

Story Reference

Story: As a system administrator, I want to define roles within the RBAC model to accommodate various user responsibilities, allowing for effective access control management. #2694

Introduction

This document outlines the updated structure of our system's RBAC (Role-Based Access Control) model, detailing the roles, permissions, hierarchical scopes, their interrelationships, and the integration of a new Principal entity to unify the management of Users and Groups.

RBAC Model:

(ici une image du nouveau diagramme UML avec les changements)

Roles

Access Control

Principals

Users and Groups

Hierarchical Scopes

Examples

Scenario: Enterprise with Multiple Departments

Role and Access Control Configuration

Hierarchical Scopes and Permissions

Conclusion

This example illustrates how the updated RBAC model, with the integration of the Principal entity, can be effectively used to manage permissions in a complex environment. By assigning roles and scopes wisely, the system ensures security and operational efficiency, allowing specific actions in designated areas while preventing unauthorized access to sensitive equipment or areas.