The previous implementation of using the `--allow` option in `rad id update` would be an absolute list, rather than additive. That is, if there were existing DIDs not passed in via `--allow` then they would be remove. Change this behaviour to check the existing value of the document's allow list, and add to it if `--allow` is specified. To enable the user to also remove a DID, the `--disallow` option is also added. The correct usage of these options is improved by checking the validity of the `--visibility` option being used, the current state of the repository's privacy, and the use of the `--allow` and `--disallow` options. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| build.rs | ||