Skip to content

remove creation of scopes and roles in Trex#2673

Open
SantanM wants to merge 2 commits into
developfrom
SantanM/internal-2666_disable
Open

remove creation of scopes and roles in Trex#2673
SantanM wants to merge 2 commits into
developfrom
SantanM/internal-2666_disable

Conversation

@SantanM

@SantanM SantanM commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Merge Checklist

Please cross check this list if additions / modifications needs to be done on top of your core changes and tick them off. Reviewer can as well glance through and help the developer if something is missed out.

  • Automated Tests (Jasmine integration tests, Unit tests, and/or Performance tests)
  • Updated Manual tests / Demo Config
  • Documentation (Application guide, Admin guide, Markdown, Readme and/or Wiki)
  • Verified that local development environment is working with latest changes (integrated with latest develop branch)
  • following best practices in code review doc

Copilot AI 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.

Pull request overview

Removes Trex’s runtime provisioning of Logto roles and API scopes when loading plugins, leaving role/scope registration to configuration or external provisioning.

Changes:

  • Dropped LogtoAPI usage from plugin registration (no longer auto-creates roles).
  • Dropped LogtoAPI usage from scope registration (no longer auto-creates APIs/scopes).
  • Cleaned up the corresponding import.

Comment thread services/trex/core/server/plugin/function.ts
@SantanM SantanM enabled auto-merge June 19, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants