Skip to content

add ConnectionEditGuard to requestAISettingsAndWidgetsCreation endpoint#1483

Merged
Artuomka merged 1 commit into
mainfrom
backend_aws_bedrock
Dec 22, 2025
Merged

add ConnectionEditGuard to requestAISettingsAndWidgetsCreation endpoint#1483
Artuomka merged 1 commit into
mainfrom
backend_aws_bedrock

Conversation

@Artuomka

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings December 22, 2025 12:09
@Artuomka Artuomka enabled auto-merge December 22, 2025 12:10

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

This PR adds the ConnectionEditGuard to the requestAISettingsAndWidgetsCreation endpoint to ensure that only users with edit permissions on a connection can trigger AI settings and widget creation for that connection.

  • Adds ConnectionEditGuard import
  • Applies @UseGuards(ConnectionEditGuard) decorator to the endpoint that creates AI settings and widgets

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

@Artuomka Artuomka merged commit 8b14452 into main Dec 22, 2025
25 checks passed
@Artuomka Artuomka deleted the backend_aws_bedrock branch December 22, 2025 12:18
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.

2 participants