woodpecker/server/router/middleware/session
qwerty287 e847cbadfa
Check permissions on repo lookup (#2357)
There was no permission check when looking up repos so you were able to
get basic repo information even if you're not allowed to.

This uses `session.MustPull` (and set repo/perms before) to fix this.
2023-08-30 16:35:34 +02:00
..
agent.go Rename build to pipeline in code (#1224) 2022-10-18 03:24:12 +02:00
pagination.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
repo.go Check permissions on repo lookup (#2357) 2023-08-30 16:35:34 +02:00
user.go Use id to access orgs (#1873) 2023-07-21 19:45:32 +02:00