Fintan Halpenny
f26be552c2
cli: improve rad id allow list UX
...
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
2024-06-20 17:22:38 +02:00
..
2023-08-04 12:23:49 +02:00
2024-04-18 17:09:45 +02:00
2024-03-11 13:22:14 +01:00
2024-03-21 14:44:04 +01:00
2024-03-21 14:44:04 +01:00
2024-06-04 14:08:15 +02:00
2023-04-24 15:42:00 +02:00
2023-04-24 15:42:00 +02:00
2023-04-24 15:42:00 +02:00
2023-11-30 10:48:14 +01:00
2024-01-22 21:18:54 +01:00
2024-05-16 15:46:24 +02:00
2024-01-22 21:18:54 +01:00
2024-05-16 15:46:24 +02:00
2023-12-06 10:00:45 +01:00
2024-03-11 10:46:09 +01:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-06-04 14:08:15 +02:00
2023-11-09 13:04:40 +01:00
2023-12-06 09:56:57 +01:00
2024-01-22 21:18:54 +01:00
2024-04-03 14:30:05 +02:00
2023-11-09 16:43:34 +01:00
2023-12-13 12:14:06 +01:00
2024-06-20 17:22:38 +02:00
2024-05-16 15:46:24 +02:00
2024-05-07 10:21:07 +02:00
2024-06-12 15:36:34 +02:00
2024-06-04 11:10:29 +02:00
2024-04-09 16:09:44 +02:00
2024-03-11 13:08:03 +01:00
2024-06-12 15:36:34 +02:00
2024-05-16 15:46:24 +02:00
2024-05-16 15:46:24 +02:00
2024-06-12 15:36:34 +02:00
2024-05-16 15:46:24 +02:00
2024-06-12 15:36:34 +02:00
2024-02-26 12:40:17 +01:00
2024-05-15 10:07:56 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2024-06-12 12:13:10 +02:00
2024-06-12 15:36:34 +02:00
2023-12-13 12:30:11 +01:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-03-11 13:22:14 +01:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-03-11 11:56:11 +01:00
2024-06-12 15:36:34 +02:00
2024-03-11 11:56:11 +01:00
2024-04-09 16:06:51 +02:00
2024-02-23 12:31:13 +01:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-01-02 15:04:49 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-03-11 11:56:11 +01:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-06-12 15:36:34 +02:00
2024-03-11 11:56:11 +01:00
2024-01-08 17:28:01 +01:00
2024-02-23 12:31:13 +01:00
2024-03-09 14:01:30 +01:00
2024-02-26 14:23:13 +01:00
2023-12-06 09:56:57 +01:00
2024-05-21 13:32:40 +02:00
2024-06-12 15:36:34 +02:00
2023-12-11 12:04:26 +01:00