-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
As of 12/5/2024, creating and managing webhooks requires admin permissions for Linear.
We need to update our triggers to ensure that users are notified earlier, before they attempt to deploy a webhook.
- Use an alert prop with
error
setting if user is not an admin - "You must have an admin role to create or manage webhooks. See the Linear documentation for details." - Throw a blocking
configurationError
if a user attempts to configure a webhook, without having an admin role. - Update both
linear_app
(API Key) andlinear
(OAuth)
"query": `{
user(id: "me") {
admin
}
}`
The above graphQL query should return a boolean for the admin
field which we can then use to throw the config error.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done