Commit Graph

5 Commits (7c5710d31f49b86c458cb6570586cfc6627a790b)

Author SHA1 Message Date
Unknwon 60110adc06 models/webhook: restrict deletion to be explicitly with repo and org ID 9 years ago
Dennis Chen 5ff2dfb23e api: delete repository webhooks (#3275)
Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.

Solves drone/drone issue #1603.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
9 years ago
Unknwon 3d93532c87 #3274 fix can't get webhook detail of organization 9 years ago
Unknwon d62ab49978 #3057 retrieve webhook with repo_id
This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.
9 years ago
Unknwon e6f927f61a #1692 api: admin list and create team under organization 9 years ago