Skip to content

chore(console,core): remove dev feature guard for third-party app grants management#8570

Merged
simeng-li merged 3 commits intomasterfrom
simeng-log-13069-remove-third-party-grant-management-dev-guard
Mar 30, 2026
Merged

chore(console,core): remove dev feature guard for third-party app grants management#8570
simeng-li merged 3 commits intomasterfrom
simeng-log-13069-remove-third-party-grant-management-dev-guard

Conversation

@simeng-li
Copy link
Copy Markdown
Contributor

Summary

Remove the dev feature guard for third-party app grants management. Changeset added.

Testing

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@simeng-li simeng-li requested review from a team and Copilot March 27, 2026 06:25
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 27, 2026

COMPARE TO master

Total Size Diff 📈 +505 Bytes

Diff by File
Name Diff
.changeset/bright-pencils-add.md 📈 +752 Bytes
.changeset/clean-dolphins-wave.md 📈 +439 Bytes
packages/console/src/pages/UserDetails/UserSettings/index.tsx 📈 +79 Bytes
packages/core/src/routes/account/grants.ts 📈 +110 Bytes
packages/core/src/routes/account/index.openapi.json 📈 +66 Bytes
packages/core/src/routes/account/index.ts 📈 +99 Bytes
packages/core/src/routes/admin-user/grants.openapi.json 📈 +66 Bytes
packages/core/src/routes/admin-user/grants.ts 📈 +110 Bytes
packages/integration-tests/src/tests/api/account/grants.test.ts 📈 +63 Bytes
packages/integration-tests/src/tests/api/sessions/index.test.ts 📈 +93 Bytes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes third-party app grant management generally available by removing the isDevFeaturesEnabled guard across core APIs and the console UI, and updates integration tests + changesets accordingly.

Changes:

  • Removed EnvSet.values.isDevFeaturesEnabled gating from Management API and Account API user-grants routes.
  • Exposed the “Authorized third-party apps” section in Console user details without a dev-feature toggle.
  • Updated integration tests to run grant-management test cases unconditionally; added changesets for core/console.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/integration-tests/src/tests/api/sessions/index.test.ts Runs user-grant management tests without devFeatureTest gating.
packages/integration-tests/src/tests/api/account/grants.test.ts Runs account-center grant management tests without devFeatureTest gating.
packages/core/src/routes/admin-user/grants.ts Removes dev-feature early-return so Management API grant endpoints are always registered.
packages/core/src/routes/account/index.ts Always registers accountGrantRoutes (no dev-feature conditional).
packages/core/src/routes/account/grants.ts Removes dev-feature early-return so Account API grant endpoints are always registered.
packages/console/src/pages/UserDetails/UserSettings/index.tsx Always renders UserThirdPartyApps section (no dev-feature conditional).
.changeset/clean-dolphins-wave.md Console release note for the third-party app authorizations section.
.changeset/bright-pencils-add.md Core release note for grant-management endpoints and appType filtering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/core/src/routes/admin-user/grants.ts
Comment thread packages/core/src/routes/account/index.ts
@github-actions github-actions Bot added size/s and removed size/s labels Mar 27, 2026
Copy link
Copy Markdown
Contributor

@wangsijie wangsijie left a comment

Choose a reason for hiding this comment

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

LGTM

remove dev feature guard for user grants management
add changeset
remove dev feature tag from api doc
@simeng-li simeng-li force-pushed the simeng-log-13069-remove-third-party-grant-management-dev-guard branch from c500070 to 2ff6e34 Compare March 30, 2026 02:47
@github-actions github-actions Bot added size/s and removed size/s labels Mar 30, 2026
@simeng-li simeng-li merged commit d189d8f into master Mar 30, 2026
33 checks passed
@simeng-li simeng-li deleted the simeng-log-13069-remove-third-party-grant-management-dev-guard branch March 30, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants