radicle-heartwood-lfs/radicle-node/src
Fintan Halpenny f244d89e56
node: check policy before visibility
In the `is_authorized` helper, the logic checks the policy and the visibility of
the repository.

If the policy is set to block, the function can return before getting the
repository and the identity document. This improves the check, since the
repository and identity document may be missing if the repository is blocked, so
it would return a different error other than the expected unauthorized error.
2024-09-12 17:47:55 +02:00
..
runtime node: Have multiple fetch queues 2024-07-16 17:11:46 +02:00
service Update `rust-toolchain` to 1.80 2024-08-06 14:37:21 +02:00
test Update `rust-toolchain` to 1.80 2024-08-06 14:37:21 +02:00
tests node: test multiple offline inits 2024-07-22 10:48:10 +02:00
wire node: Don't panic on connection logic error 2024-06-26 11:31:07 +02:00
worker node: Don't fail if we can't load a COB to cache 2024-08-09 11:59:53 +02:00
bounded.rs node: Use inventory cache for checking missing 2024-05-13 16:37:02 +02:00
control.rs node: Rename certain functions for clarity 2024-06-12 15:36:34 +02:00
deserializer.rs node: Use `BoundedVec` for inbox 2024-05-07 14:49:02 +02:00
lib.rs build: Update env vars for build process 2024-06-20 10:47:50 +02:00
main.rs node: Fix `main` to print early errors 2024-07-22 12:37:57 -07:00
runtime.rs Update `rust-toolchain` to 1.80 2024-08-06 14:37:21 +02:00
service.rs node: Ensure we don't prune our own routes 2024-08-06 14:17:12 +02:00
test.rs radicle: expose shared logger 2023-12-20 15:11:10 +01:00
tests.rs Validate project names properly in all places 2024-07-31 16:05:31 +02:00
wire.rs node: Add agent and version to node announcement 2024-06-13 11:28:09 +02:00
worker.rs node: check policy before visibility 2024-09-12 17:47:55 +02:00