Role-Based Access Control for Home Assistant

Add support for role-based access control (RBAC) in Home Assistant to enable fine-grained permission management for users. This would allow administrators to define roles such as “Child”, “Guest”, or “Power User” and control what each user can access or modify in the Home Assistant environment.

Detailed Description:
Currently, Home Assistant supports user accounts but lacks the ability to restrict specific actions or access to certain UI elements, devices, or automations based on user roles. Introducing RBAC would enable the following use cases:

Child Role:
Restrict access to sensitive devices like thermostats or security cameras.
Allow limited control, such as toggling lights or activating predefined scenes.
Hide sensitive dashboard entities.
Guest Role:
Provide limited access to specific rooms or devices (e.g., lights, media players).
Prevent access to configuration settings or admin-level features.
Power User Role:
Allow advanced users access to more devices or dashboards without giving full admin privileges.
Customizable Roles:
Enable administrators to create custom roles tailored to specific household needs.
Implementation Suggestions:

Role Creation: Add a section in the user management settings for defining roles with customizable permissions.
Permission Assignment: Allow assigning roles to individual users during account setup or through the user profile.
Granular Controls: Enable fine-grained permission settings, such as per-entity or per-dashboard access.
Dashboard Customization: Introduce role-specific dashboards that show only the relevant entities and controls.
Benefits:

Improves security by limiting access to sensitive devices or settings.
Enhances user experience by showing only relevant controls to each user.
Enables Home Assistant to better serve families or shared households.
Example Use Case:

Parents configure a “Child” role that grants their kids access to control only the lights in their bedrooms and play music, while blocking access to the home security system or heating controls.
This feature would greatly enhance Home Assistant’s flexibility for multi-user households and improve its usability in shared environments.

Thank you for considering this feature!

Duplicate FR: RBAC - Role Based Access Control (Users & Groups rights)

Based on public comments it is unlikely to happen any time soon…

Duplicate, please vote in the link drew provided.