Forgejo/routers
Gusted 747be949a1
[MODERATION] Block adding collaborators
- Ensure that the doer and blocked user cannot add each other as
collaborators to repositories.
- The Web UI gets an detailed message of the specific situation, the API
gets an generic Forbidden code.
- Unit tests has been added.
- Integration testing for Web and API has been added.
- This commit doesn't introduce removing each other as collaborators on
the block action, due to the complexity of database calls that needs to
be figured out. That deserves its own commit and test code.
2023-07-21 12:51:42 +02:00
..
api [MODERATION] Block adding collaborators 2023-07-21 12:51:42 +02:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Show correct SSL Mode on "install page" (#25818) 2023-07-11 18:09:23 -04:00
private [CLI] implement forgejo-cli actions register 2023-07-16 23:15:13 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [MODERATION] Block adding collaborators 2023-07-21 12:51:42 +02:00
init.go [TESTS] testMiddlewareHook, dependency injection in integration tests 2023-07-16 23:40:30 +02:00