Add Entra app-role route authorization for initial ui-staff sections#239
Open
rohit-r-kumar wants to merge 105 commits into
Open
Add Entra app-role route authorization for initial ui-staff sections#239rohit-r-kumar wants to merge 105 commits into
rohit-r-kumar wants to merge 105 commits into
Conversation
…ify ADR entry in readme
… into rohit-r-kumar/issue212
… role and user creation logic
…et to true on the default tech admin role, rename RoleName with default
…and refactoring role creation logic
nnoce14
requested changes
May 14, 2026
92a1646 to
01559d7
Compare
https://github.com/CellixJs/cellixjs into rohit-r-kumar/issue214
… into rohit-r-kumar/issue214
…t-r-kumar/issue214
nnoce14
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the new
@apps/ui-staffpackage, establishing the foundation for the staff-facing UI application. It also updates the monorepo's frontend package structure by replacing@ocom/ui-componentswith@ocom/ui-sharedthroughout the documentation and configuration. Additionally, the PR delivers improvements and bug fixes to authentication, Apollo Client context management, and theme persistence logic.Key changes:
1. New Staff UI Application
@apps/ui-staffpackage, including its initial configuration, dependencies, environment variables, sample OIDC mock, entrypoint, routing, authentication, and test scaffolding. This establishes the staff-facing application with support for authentication, role-based routing, Apollo Client integration, and initial test coverage. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]2. Monorepo Frontend Package Structure Update
@ocom/ui-componentswith@ocom/ui-sharedin documentation, planning guides, and TypeScript config files, reflecting the new shared UI package structure. [1] [2] [3] [4] [5]3. Authentication and Token Handling Improvements
StaffPortaltoken in the API service config, allowing staff authentication tokens to be recognized.nooncetononceand ensured a default scope of'openid'is set if not provided. [1] [2]4. Apollo Client Context and Header Management
ApolloLinkToAddCustomHeaderimplementation to avoid mutating the previous context or headers, ensuring immutability and safer context handling. [1] [2]5. Theme Persistence Robustness
ui-communityto handle malformed or missingthemePropvalues in localStorage, preventing runtime errors and ensuring fallback to defaults. [1] [2]Summary by Sourcery
Introduce centralized role-based authorization for the staff UI, wire Entra app roles into routing and navigation, and improve shared theme persistence utilities across portals.
New Features:
Enhancements:
Build:
Tests:
Chores: