]> OzVa Git service - ozva-cloud/commit
feat: new auth (#218)
authorsigoden <sigoden@gmail.com>
Thu, 1 Jun 2023 10:52:05 +0000 (18:52 +0800)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2023 10:52:05 +0000 (18:52 +0800)
commitf8ea41638f16763b4d7759933fe464740011ae0e
treeb61e2ed185a88d3d76ced2dc242a2413af817c94
parent2890b3929d7851df95237456a8c04654391b50e2
feat: new auth (#218)

The access level path control used by dufs has two disadvantages:

1. One path cannot support multiple users
2. It is very troublesome to set multiple paths for one user

So it needs to be refactored.
The new auth is account based, it closes #207, closes #208.

BREAKING CHANGE: new auth
Cargo.toml
src/args.rs
src/auth.rs
src/server.rs
tests/auth.rs
tests/log_http.rs
tests/single_file.rs