KN4CK3R
59b867dc2d
Add ContextUser
to http request context ( #18798 )
...
This PR adds a middleware which sets a ContextUser (like GetUserByParams before) in a single place which can be used by other methods. For routes which represent a repo or org the respective middlewares set the field too.
Also fix a bug in modules/context/org.go during refactoring.
2022-03-26 17:04:22 +08:00
..
2022-01-19 23:26:57 +00:00
2022-03-22 15:03:22 +08:00
2022-02-08 11:02:30 +08:00
2022-03-22 15:03:22 +08:00
2022-03-22 15:03:22 +08:00
2022-02-02 11:10:06 +01:00
2022-03-23 13:40:12 +00:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-03-23 12:54:07 +08:00
2021-06-09 14:53:12 +02:00
2022-03-26 17:04:22 +08:00
2022-03-22 16:22:54 +01:00
2022-03-23 12:54:07 +08:00
2022-03-23 12:54:07 +08:00
2022-03-22 16:22:54 +01:00
2022-03-23 12:54:07 +08:00
2022-03-22 15:03:22 +08:00
2022-01-20 18:46:10 +01:00
2022-03-22 15:03:22 +08:00
2022-03-23 12:54:07 +08:00
2022-03-23 12:54:07 +08:00
2022-03-22 15:03:22 +08:00
2021-11-12 22:36:47 +08:00
2022-03-22 15:03:22 +08:00
2022-03-22 15:03:22 +08:00
2022-01-26 20:01:35 +00:00
2022-03-22 15:03:22 +08:00
2021-11-12 22:36:47 +08:00
2022-03-22 15:03:22 +08:00
2022-03-22 15:03:22 +08:00
2022-03-22 16:22:54 +01:00
2021-11-16 16:53:21 +08:00
2022-03-22 15:03:22 +08:00
2022-03-22 16:22:54 +01:00
2022-03-23 12:54:07 +08:00
2022-03-23 12:54:07 +08:00
2022-03-22 16:22:54 +01:00
2022-03-23 12:54:07 +08:00
2021-12-10 09:27:50 +08:00
2022-03-22 15:03:22 +08:00
2022-03-22 16:22:54 +01:00
2022-03-23 12:54:07 +08:00
2022-03-23 12:54:07 +08:00
2022-03-22 15:03:22 +08:00