User Interface medium complexity frontend
1
Dependencies
1
Dependents
2
Entities
0
Integrations

Description

An inline widget embedded within the user management screen and invite form that displays and edits a user's role-organization mapping. Supports assigning a role within a specific local association and handles multi-association membership constraints.

Feature: User Management

user-role-assignment-widget

Responsibilities

  • Display current role-to-organization assignments for a user
  • Allow admin to add or update role assignments within authorized scope
  • Prevent assignment of roles above the admin's own permission level
  • Validate that assigned roles are compatible with the target organization type

Interfaces

loadAssignments(userId)
renderRoleRow(assignment)
addRoleAssignment(role, organizationId)
removeRoleAssignment(assignmentId)
validateAssignment(role, organizationId)
save()

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component

Related Data Entities (2)

Data entities managed by this component