forgejo/modules/context
yp05327 bbf83f5d4b
Improve permission check of packages (#23879)
At first, we have one unified team unit permission which is called
`Team.Authorize` in DB.
But since https://github.com/go-gitea/gitea/pull/17811, we allowed
different units to have different permission.

The old code is only designed for the old version. So after #17811, if
org users have write permission of other units, but have no permission
of packages, they can also get write permission of packages.

Co-authored-by: delvh <dev.lh@web.de>
2023-04-06 22:18:29 +08:00
..
access_log.go Parse external request id from request headers, and print it in access log (#22906) 2023-03-10 09:54:32 -06:00
api.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
api_org.go
api_test.go
auth.go
captcha.go Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
context.go Append (comment) when a link points at a comment rather than the whole issue (#23734) 2023-04-03 16:02:57 +08:00
csrf.go
form.go
org.go Add missing tabs to org projects page (#22705) 2023-03-10 09:18:20 -06:00
package.go Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
pagination.go Make branches list page operations remember current page (#23420) 2023-03-14 13:11:38 +08:00
permission.go
private.go
repo.go Implement Issue Config (#20956) 2023-03-28 14:22:07 -04:00
response.go
utils.go
xsrf.go
xsrf_test.go