Skip to content

fix: populate Obot groups for token auth - #7949

Merged
thedadams merged 1 commit into
obot-platform:mainfrom
thedadams:push-umqtyrvnytmp
Sep 17, 2026
Merged

thedadams merged 1 commit into
obot-platform:mainfrom
thedadams:push-umqtyrvnytmp

Conversation

@thedadams

Copy link
Copy Markdown
Member

This allows group-based profiles with Obot groups to work.

This allows group-based profiles with Obot groups to work.

Signed-off-by: Donnie Adams <donnie@obot.ai>
Copilot AI balanced review requested due to automatic review settings September 17, 2026 01:05

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

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.

🟡 Changes recommended

The central effective-role behavior lacks a regression test covering MCP-scoped tokens.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Enables group-based profiles for persistent token authentication and configures composite MCP logging.

Changes:

  • Resolves effective Obot roles for all numeric token users.
  • Supplies the default logger to mmmcp.
File summaries
File Description
pkg/jwt/persistent/persistent.go Populates effective Obot role groups for scoped tokens.
pkg/api/handlers/mcpgateway/handler.go Configures composite gateway logging.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced (auto)

Note

Copilot is running an experiment and ran this review at Balanced.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pkg/jwt/persistent/persistent.go
@thedadams
thedadams merged commit f385f2f into obot-platform:main Sep 17, 2026
4 checks passed
@thedadams
thedadams deleted the push-umqtyrvnytmp branch September 17, 2026 01:20
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