-
Notifications
You must be signed in to change notification settings - Fork 615
[FEATURE][AUTH]: Extend default_roles to add additional roles during bootstrap #2187
Copy link
Copy link
Closed
Copy link
Labels
COULDP3: Nice-to-have features with minimal impact if left out; included if time permitsP3: Nice-to-have features with minimal impact if left out; included if time permitsenhancementNew feature or requestNew feature or requestpythonPython / backend development (FastAPI)Python / backend development (FastAPI)securityImproves securityImproves security
Milestone
Description
🧭 Type of Feature
Please select the most appropriate category:
- Enhancement to existing functionality
- New feature or capability
- New MCP-compliant server
- New component or integration
- Developer tooling or test improvement
- Packaging, automation and deployment (ex: pypi, docker, quay.io, kubernetes, terraform)
- Other (please describe below)
🧭 Epic
Title: Extend default roles to add new additional roles during bootstrap
Goal: Clients can preconfigure gateway to have additional roles while bootstrap of application
Why now: Currently clients have to create these roles after the bootstrap which is a overhead to their processes
✅ Acceptance Criteria
Scenario: Adding additional default_roles during bootstrap
Given env MCPGATEWAY_BOOTSTRAP_ROLES_IN_DB_ENABLED is true
When env MCPGATEWAY_BOOTSTRAP_ROLES_IN_DB_FILE is a valid path with file contents having a json array of roles
Then while bootstrap of application these new additional roles are added to default_roles🔗 MCP Standards Check
- Change adheres to current MCP specifications
- No breaking changes to existing MCP-compliant integrations
- If deviations exist, please describe them below:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
COULDP3: Nice-to-have features with minimal impact if left out; included if time permitsP3: Nice-to-have features with minimal impact if left out; included if time permitsenhancementNew feature or requestNew feature or requestpythonPython / backend development (FastAPI)Python / backend development (FastAPI)securityImproves securityImproves security