KN4CK3R
7c11a73833
Fix package access for admins and inactive users ( #21580 )
...
I noticed an admin is not allowed to upload packages for other users
because `ctx.IsSigned` was not set.
I added a check for `user.IsActive` and `user.ProhibitLogin` too because
both was not checked. Tests enforce this now.
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-10-24 22:23:25 +03:00
..
2022-08-16 10:22:25 +08:00
2022-08-30 21:15:45 -05:00
2022-10-12 13:18:26 +08:00
2022-09-05 14:04:18 +08:00
2022-10-12 13:18:26 +08:00
2022-10-24 22:23:25 +03:00
2022-10-24 15:59:24 +08:00
2022-08-30 21:15:45 -05:00
2022-10-23 22:44:45 +08:00
2022-08-30 21:15:45 -05:00
2022-08-25 10:31:57 +08:00
2022-10-23 22:44:45 +08:00
2022-10-23 22:44:45 +08:00
2022-08-21 19:20:43 +01:00
2022-09-26 13:50:03 +08:00
2022-08-16 20:15:54 -04:00
2022-10-23 22:44:45 +08:00
2022-10-12 13:18:26 +08:00
2022-07-28 11:04:36 +08:00
2022-09-04 16:14:53 +01:00
2022-10-23 01:15:52 +08:00
2022-08-10 15:20:10 +02:00
2022-08-25 10:31:57 +08:00
2022-09-04 13:47:56 +03:00
2022-08-29 16:38:49 +02:00
2022-10-21 18:21:56 +02:00
2022-10-06 07:00:54 +01:00
2022-10-13 18:19:39 +08:00
2022-10-18 12:52:25 -04:00
2022-08-30 21:15:45 -05:00
2022-10-11 16:57:37 +08:00
2022-08-21 19:20:43 +01:00
2022-10-12 13:18:26 +08:00
2022-10-12 13:18:26 +08:00
2022-10-18 12:52:25 -04:00
2022-10-23 22:44:45 +08:00
2022-10-17 07:29:26 +08:00
2022-08-21 19:20:43 +01:00
2022-09-24 21:04:14 +08:00
2022-10-24 15:59:24 +08:00
2022-10-12 13:18:26 +08:00
2022-10-17 07:29:26 +08:00
2022-10-21 16:39:26 +08:00
2022-08-16 10:22:25 +08:00
2022-08-28 10:43:25 +01:00
2022-10-18 07:50:37 +02:00
2022-07-29 17:26:55 +02:00
2022-10-17 07:29:26 +08:00
2022-10-18 07:50:37 +02:00
2022-09-04 13:47:56 +03:00
2022-08-28 10:43:25 +01:00
2022-08-11 17:48:23 +02:00