Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: improved integration rbac control #1883

Merged

Conversation

sheensantoscapadngan
Copy link
Member

Description 📣

Previously, users were able to create integrations for environments that they do not have any access to. This happens for example when a user has permissions to create integrations but has no read permission for any of the environments. This PR fixes that by ensuring that users creating or updating integrations (either via Web or API) have read permissions to the env and secret path of interest

Type ✨

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

Copy link
Collaborator

@maidul98 maidul98 left a comment

Choose a reason for hiding this comment

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

lgtm

@sheensantoscapadngan sheensantoscapadngan merged commit 51f4047 into main May 28, 2024
5 checks passed
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