Role Guard Service
Component Detail
Service Layer
low complexity
Shared Component
mobile
0
Dependencies
2
Dependents
13
Entities
0
Integrations
Description
Injects the authenticated user's role into query contexts to enforce data access boundaries. Shared service originating from the Role-Based Access Control feature; referenced here because the contacts list applies role-specific filtering through it at query time.
role-guard-service
Responsibilities
- Provide current user role to downstream services
- Enforce visibility rules for role-specific data queries
- Block unauthorized data access at service boundary
Interfaces
getCurrentUserRole()
canAccessFeature(String featureId)
injectRoleContext(QueryContext ctx)
getUserOrganizationContext()
Relationships
Dependents (2)
Components that depend on this component
Related Data Entities (13)
Data entities managed by this component
Activity
20 fields
core
Assignment
20 fields
core
Contact
17 fields
core
Event
19 fields
core
External Resource
13 fields
configuration
Note
9 fields
core
Role
11 fields
configuration
Session
15 fields
core
Toolbox Card
13 fields
configuration
User
18 fields
core
User Badge
13 fields
core
User Organization Role
12 fields
core
Workshop Participant
10 fields
core