Skip to content

chore: Skip sending events for internal teams#18974

Merged
kodiakhq[bot] merged 7 commits intomainfrom
chore/skip-sending-events-internal-teams
Aug 22, 2024
Merged

chore: Skip sending events for internal teams#18974
kodiakhq[bot] merged 7 commits intomainfrom
chore/skip-sending-events-internal-teams

Conversation

@rhino1998
Copy link
Copy Markdown
Contributor

Summary

This skips emitting events if the team is marked internal. To do this we have to fetch the team internal flag on login and store it in the configuration.

Needs cloudquery/cloudquery-api-go#224

@rhino1998 rhino1998 changed the title chore: Skip sending events if team internal chore: Skip sending events for internal teams Aug 20, 2024
@rhino1998 rhino1998 marked this pull request as ready for review August 21, 2024 18:52
@rhino1998 rhino1998 requested review from a team and marianogappa and removed request for a team August 21, 2024 18:52
environment string
user cqapi.User
currentTeam string
currentTeamInternal bool
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.

I would call this isCurrentTeamInternal. It's just clearer what it is when the type is not immediately visible.

@rhino1998 rhino1998 added the automerge Automatically merge once required checks pass label Aug 22, 2024
@kodiakhq kodiakhq bot merged commit 16ece2a into main Aug 22, 2024
@kodiakhq kodiakhq bot deleted the chore/skip-sending-events-internal-teams branch August 22, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants