gitforge/services/context
limiting-factor d3db2674b9 [v16.0/forgejo] fix: make assignment of projects to issues consistent (#13504)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/13066

A partial backport of the `tests/forgery` changes from `feat: make delete repository transcation READ COMMITTED (#12856)` is included and makes it a clean cherry-pick.

- Move the permissions and consistency logic to services/context/project.go
- When an invalid `project=id` is provided in the query string to display the form to create a new issue, it will now fail instead of silently discard the invalid id

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13504
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-07-17 23:29:06 +02:00
..
upload
access_log.go
api.go
api_org.go
api_test.go
base.go
base_test.go
captcha.go
context.go
context_cookie.go
context_model.go
context_request.go
context_response.go
context_test.go
org.go
package.go
pagination.go
permission.go
private.go
project.go [v16.0/forgejo] fix: make assignment of projects to issues consistent (#13504) 2026-07-17 23:29:06 +02:00
quota.go
repo.go
repository.go
response.go
user.go
utils.go