Skip to content

Conversation

malwilley
Copy link
Member

Right now the workflow endpoints require you to have org:write to create/edit workflows since it uses the default OrganizationPermission.

The new permission now checks alerts:write as well. This is slightly different than the detector permission class, which uses a more permissive scope_map but checks for project access as well. But because workflows are not attached to a project, that does not translate so we just look for the org-level alerts:write.

@malwilley malwilley requested a review from a team as a code owner October 8, 2025 18:38
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 8, 2025
cursor[bot]

This comment was marked as outdated.

@malwilley malwilley merged commit 86589c4 into master Oct 8, 2025
65 checks passed
@malwilley malwilley deleted the malwilley/fix/workflow-permission-alerts-write branch October 8, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants