Skip to content

docs: sync docs with improvements done in Admin UI application#2883

Merged
duttarnab merged 5 commits into
mainfrom
docs-admin-ui-2882
Jun 22, 2026
Merged

docs: sync docs with improvements done in Admin UI application#2883
duttarnab merged 5 commits into
mainfrom
docs-admin-ui-2882

Conversation

@duttarnab

@duttarnab duttarnab commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

closes #2882

Summary by CodeRabbit

  • Documentation
    • Updated Admin UI license verification flow and endpoint documentation to reflect the latest backend license-check and retrieval behavior.
    • Expanded Admin UI persistence configuration documentation, including the license metadata schema, OIDC client details, and updated sample configuration JSON.
    • Refreshed Settings → Security and simplified the GUI access/capabilities description.
    • Improved the Admin UI introduction (frontend/backend structure, installation references, and license activation/SSA guidance).
    • Updated Admin UI navigation by removing SAML-related entries; adjusted related menu, scripts, and user-claims documentation pages.

Signed-off-by: duttarnab <arnab.bdutta@gmail.com>
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • docs/assets/admin-ui/login-page.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 68e60c25-133d-45f0-82f3-1229fcc42e17

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Documentation across multiple Admin UI pages and navigation is updated to match current application state: the introduction is rewritten with a structured frontend technology list and Agama Lab–based license activation model; license verification endpoints and sequence diagrams are updated from SCAN to Agama Lab; the licenseConfig schema and sample JSON are significantly expanded; home page security content is condensed and feature-focused; and navigation structure is cleaned up by removing SAML references.

Changes

Admin UI Documentation Sync

Layer / File(s) Summary
Introduction and installation rewrite
docs/admin/admin-ui/introduction.md
Replaces the generic frontend description with a structured technology breakdown (React 18, MUI, Redux Toolkit, TanStack Query, Orval, Cedarling WASM, etc.), retains the backend subsection, updates installation references from Rancher to VM/Helm, and rewrites the Gluu Flex License subsection to reference SSA issuance and Agama Lab subscription.
License verification endpoint and sequence diagram
docs/admin/admin-ui/auth-server-interaction.md
Updates numbered License Verification steps to use /v1/license/isConfigValid, /v1/license/isActive, and /v1/license/retrieve, and rewrites the sequence diagram to route all license activity checks and retrieval through Agama Lab instead of SCAN.
Configuration schema and sample JSON expansion
docs/admin/admin-ui/configuration.md
Updates sessionTimeoutInMins documentation wording; removes cedarlingPolicyStoreRetrievalPoint from uiConfig; expands licenseConfig with new fields (keys, validity, expiry, product, status, sync interval, nested oidcClient); replaces the sample persistence JSON with an updated version adding OIDC endpoints and the full expanded licenseConfig.
Home page settings/security and authentication menu updates
docs/admin/admin-ui/home.md, docs/admin/admin-ui/auth-server-menu.md
Adds Spanish language and new Security-related bullets (Cedarling logs, logging level, ACR, custom auth params) to the home page; condenses the Security section into GUI Access Control and Capabilities; adds an Agama project deployment statement and removes the commented-out Agama block from the auth-server menu.
Navigation structure and page cleanup
docs/admin/admin-ui/left-nav-menu.md, docs/admin/admin-ui/scripts.md, docs/admin/admin-ui/user-claims.md, mkdocs.yml
Removes the "SAML" menu entry from the left navigation menu list and mkdocs.yml navigation; deletes the introductory text from the Custom Scripts page; removes a screenshot from the User Claims page.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • GluuFederation/flex#2444: Both PRs touch the Admin UI authorization docs—docs(admin-ui): access control using cedarling docs #2444 rewrites Cedarling/TBAC access-control flow and updates uiConfig persistence fields (notably cedarlingPolicyStoreRetrievalPoint) in docs/admin/admin-ui/configuration.md, while the main PR also edits configuration.md/auth-server-interaction.md around uiConfig semantics/sequence-diagram behavior—so the changes overlap and are related.

  • GluuFederation/flex#2731: Both PRs update the Admin UI docs/admin/admin-ui/configuration.md persistence/schema to reflect changes around Cedarling policy-store provisioning (e.g., removing the retrieval-point/remote-URL concept in favor of .cjar archive upload and associated schema wording), making the changes directly overlapping in the same documentation area.

Suggested reviewers

  • ossdhaval
  • moabu

Poem

🐇 Hop, hop through the docs we go,
Agama Lab's the new license show!
Old SCAN endpoints? Swept away,
Config JSON blooms fresh today.
The rabbit checks each schema line —
Flex Admin docs now look just fine! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately summarizes the main objective: syncing documentation with improvements made in the Admin UI application.
Linked Issues check ✅ Passed The PR changes directly address issue #2882's objective to sync documentation with Admin UI improvements across 8 markdown files and mkdocs.yml.
Out of Scope Changes check ✅ Passed All changes are in-scope documentation updates aligning with the linked issue's objective to sync docs with Admin UI improvements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs-admin-ui-2882

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mo-auto mo-auto added area-documentation Documentation needs to change as part of issue or PR comp-admin-ui Component affected by issue or PR labels Jun 19, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/admin/admin-ui/configuration.md (1)

101-117: 🧹 Nitpick | 🔵 Trivial | ⚡ Quick win

Add trailing pipe to table rows for consistent formatting.

The table header (lines 101–102) uses leading and trailing pipes, but the new rows added at lines 106–117 appear to use inconsistent pipe formatting. For MkDocs/Markdown table consistency, all rows should use the same style. The markdownlint warning at line 112 flags a missing trailing pipe.

🔧 Example of consistent formatting

All table rows should match this pattern (matching the header format):

|licenseKey| License-key to access Admin UI |
|licenseHardwareKey| Hardware key (org_id) to access license APIs |

Each row should have a leading pipe before the first column and a trailing pipe after the last column, consistent with lines 101–102.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/admin/admin-ui/configuration.md` around lines 101 - 117, Add trailing
pipes to all table rows in the configuration attributes table (licenseConfig
through oidcClient rows) to match the consistent formatting style of the header
row. Each row should have a leading pipe before the first column and a trailing
pipe after the last column, matching the pattern used in the header at lines
101-102.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/admin/admin-ui/auth-server-interaction.md`:
- Line 18: The endpoint reference on line 18 of the auth-server-interaction.md
file uses an abbreviated path (/isActive) while other API endpoints in the
documentation use full paths (such as /v1/license/isConfigValid shown on line
17). To maintain consistency, replace the abbreviated endpoint reference
(/isActive) with its complete path (/v1/license/isActive) in the sentence
describing the License API call to Agama Lab.

In `@docs/admin/admin-ui/introduction.md`:
- Line 19: The compound adjective "user facing" in the sentence "This user
facing Frontend has been developed using the following:" should be hyphenated as
"user-facing" to properly modify the noun "Frontend". Locate this sentence and
change "user facing" to "user-facing" to follow correct English grammar rules
for compound adjectives.
- Line 80: The Helm Deployments link in the introduction.md file has an
incorrect relative path that resolves to the wrong directory. Update the link
path for "Helm Deployments" from ../install/helm-install/README.md to
../../install/helm-install/README.md to correctly reference the Helm
installation documentation at the same depth level as the VM installer link,
which uses the correct ../../install/ prefix.

---

Outside diff comments:
In `@docs/admin/admin-ui/configuration.md`:
- Around line 101-117: Add trailing pipes to all table rows in the configuration
attributes table (licenseConfig through oidcClient rows) to match the consistent
formatting style of the header row. Each row should have a leading pipe before
the first column and a trailing pipe after the last column, matching the pattern
used in the header at lines 101-102.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: db32eb69-0c72-42f6-bac3-e031e2736a04

📥 Commits

Reviewing files that changed from the base of the PR and between 927ada5 and 34f876e.

⛔ Files ignored due to path filters (25)
  • docs/assets/admin-ui/admin-ui-add-user.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-left-nav-menu.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-logging.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-scope.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-ssa.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-update-user.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-user-changepassword.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-user-screen.png is excluded by !**/*.png
  • docs/assets/admin-ui/audit-log.png is excluded by !**/*.png
  • docs/assets/admin-ui/auth-server-configuration.png is excluded by !**/*.png
  • docs/assets/admin-ui/authn.png is excluded by !**/*.png
  • docs/assets/admin-ui/client.png is excluded by !**/*.png
  • docs/assets/admin-ui/dynamic-scope.png is excluded by !**/*.png
  • docs/assets/admin-ui/health.png is excluded by !**/*.png
  • docs/assets/admin-ui/jans-assets.png is excluded by !**/*.png
  • docs/assets/admin-ui/jwks.png is excluded by !**/*.png
  • docs/assets/admin-ui/license-details.png is excluded by !**/*.png
  • docs/assets/admin-ui/localization.png is excluded by !**/*.png
  • docs/assets/admin-ui/openid-scope.png is excluded by !**/*.png
  • docs/assets/admin-ui/role-permission.png is excluded by !**/*.png
  • docs/assets/admin-ui/sessions.png is excluded by !**/*.png
  • docs/assets/admin-ui/settings.png is excluded by !**/*.png
  • docs/assets/admin-ui/trial-license.png is excluded by !**/*.png
  • docs/assets/admin-ui/upload-license.png is excluded by !**/*.png
  • docs/assets/admin-ui/webhook-view.png is excluded by !**/*.png
📒 Files selected for processing (5)
  • docs/admin/admin-ui/auth-server-interaction.md
  • docs/admin/admin-ui/auth-server-menu.md
  • docs/admin/admin-ui/configuration.md
  • docs/admin/admin-ui/home.md
  • docs/admin/admin-ui/introduction.md

Comment thread docs/admin/admin-ui/auth-server-interaction.md Outdated
Comment thread docs/admin/admin-ui/introduction.md Outdated
Comment thread docs/admin/admin-ui/introduction.md Outdated
Signed-off-by: duttarnab <arnab.bdutta@gmail.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/admin/admin-ui/home.md (1)

87-87: ⚠️ Potential issue | 🟡 Minor

Clarify that "Admin UI Logging Level" is a client-side setting stored in browser localStorage.

Line 87 documents "Admin UI Logging Level," but this setting is intentionally absent from the uiConfig schema in docs/admin/admin-ui/configuration.md because it is stored client-side in browser localStorage (via saveLogLevel and getLogLevel in admin-ui/app/utils/logLevel.ts), not in the Auth Server's persistence layer. Update home.md to clarify that this is a client-side preference that persists locally in the browser.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/admin/admin-ui/home.md` at line 87, The documentation for "Admin UI
Logging Level" in home.md does not clarify that this is a client-side preference
stored in browser localStorage rather than in the Auth Server's persistence
layer. Update the description to explicitly state that this setting is a
client-side preference that persists locally in the browser via localStorage (as
implemented by the saveLogLevel and getLogLevel utility functions),
distinguishing it from other uiConfig settings that are stored server-side.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@docs/admin/admin-ui/home.md`:
- Line 87: The documentation for "Admin UI Logging Level" in home.md does not
clarify that this is a client-side preference stored in browser localStorage
rather than in the Auth Server's persistence layer. Update the description to
explicitly state that this setting is a client-side preference that persists
locally in the browser via localStorage (as implemented by the saveLogLevel and
getLogLevel utility functions), distinguishing it from other uiConfig settings
that are stored server-side.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f01c0496-f512-45c8-bcf5-61a317bee273

📥 Commits

Reviewing files that changed from the base of the PR and between 34f876e and 913b6a6.

⛔ Files ignored due to path filters (7)
  • docs/assets/admin-ui/admin-ui-custom-script-1.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-custom-script-2.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-custom-script.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-user-claims-1.png is excluded by !**/*.png
  • docs/assets/admin-ui/admin-ui-user-claims-2.png is excluded by !**/*.png
  • docs/assets/admin-ui/localization.png is excluded by !**/*.png
  • docs/assets/admin-ui/theme-selection.png is excluded by !**/*.png
📒 Files selected for processing (6)
  • docs/admin/admin-ui/configuration.md
  • docs/admin/admin-ui/home.md
  • docs/admin/admin-ui/introduction.md
  • docs/admin/admin-ui/left-nav-menu.md
  • docs/admin/admin-ui/scripts.md
  • mkdocs.yml
💤 Files with no reviewable changes (3)
  • mkdocs.yml
  • docs/admin/admin-ui/left-nav-menu.md
  • docs/admin/admin-ui/scripts.md

duttarnab and others added 3 commits June 20, 2026 00:48
Signed-off-by: duttarnab <arnab.bdutta@gmail.com>
Signed-off-by: duttarnab <arnab.bdutta@gmail.com>
Signed-off-by: Dhaval D <343411+ossdhaval@users.noreply.github.com>
@duttarnab duttarnab merged commit bed890b into main Jun 22, 2026
7 checks passed
@duttarnab duttarnab deleted the docs-admin-ui-2882 branch June 22, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-documentation Documentation needs to change as part of issue or PR comp-admin-ui Component affected by issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(admin-ui): sync docs with improvements done in Admin UI application

3 participants