Skip to content

SUP-50619 Add admin console UI to add/replace/disable partner admin secrets - #14107

Open
bw-kaltura wants to merge 1 commit into
West-23.5.0from
West-23.5.0-SUP-50619
Open

SUP-50619 Add admin console UI to add/replace/disable partner admin secrets#14107
bw-kaltura wants to merge 1 commit into
West-23.5.0from
West-23.5.0-SUP-50619

Conversation

@bw-kaltura

Copy link
Copy Markdown
Collaborator

Summary

  • Adds an "Admin Secret Rotation" section to Partner -> Configure -> Security with buttons to Add / Replace (promote to primary) / Disable a partner's admin secrets, plus a read-only view of the current primary and enabled additional secrets.
  • Replaces the manual addSecret.php / setPrimarySecret.php / disableSecret.php CLI scripts with a proper admin-console API service (adminSecretAdmin: get/add/replace/disable), gated to partner -2 like the other adminConsole plugin services.
  • Seeds the required API action permissions for partner -2 via a deployment migration script.

Test plan

  • Run the permission migration (deployment/updates/scripts/add_permissions/2026_08_05_add_admin_secret_admin_permission.php) against a target environment before this ships, so the new adminconsole_adminsecretadmin action permissions exist.
  • Open Partner -> Configure for a test partner, confirm "Admin Secret Rotation" appears under Security with a "Manage Admin Secrets" button.
  • Add a new secret (auto-generated and explicit), confirm it appears in the additional secrets list.
  • Replace the primary secret with an additional one, confirm the old primary becomes an additional secret.
  • Disable an additional secret, confirm it's removed; confirm the primary secret cannot be disabled.

…ecrets

Replaces the manual addSecret/setPrimarySecret/disableSecret CLI scripts with
buttons under Partner -> Configure -> Admin Secret Rotation, backed by a new
adminSecretAdmin admin-console API service (get/add/replace/disable), gated
to partner -2 like the other adminConsole plugin services.
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

@github-copilot suggest

@bw-kaltura
bw-kaltura requested a review from shahbaa123 August 6, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant