radicle-heartwood-lfs/radicle-node
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
..
src node: check policy before visibility 2024-09-12 17:47:55 +02:00
Cargo.toml Update `radicle-node` crate to 0.10.0 2024-09-03 12:37:47 +02:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00