atsign-foundation / at_libraries

Support libraries & dependencies for Atsign's technology
https://pub.dev/publishers/atsign.org/packages
BSD 3-Clause "New" or "Revised" License
38 stars 11 forks source link

at_activate being able to delete denied entries in `list` #628

Open cconstab opened 1 month ago

cconstab commented 1 month ago

Is your feature request related to a problem? Please describe.

I have a denied key and would like to delete it from the list

Currently there is no way to delete entries..

Describe the solution you'd like

╰$ at_activate interactive -a @ssh_1
Connecting ... Connected
$ list
Found 1 matching enrollment records
Enrollment ID                         Status    AppName             DeviceName                            Namespaces
707a70e6-ff19-4a46-82c1-9c7cde186039  denied    sshnp               orac_ssh_1                            {sshnp: rw, sshrvd: rw}
$ delete -i 707a70e6-ff19-4a46-82c1-9c7cde186039
$ list
Found 0 matching enrollment records
Enrollment ID                         Status    AppName             DeviceName                            Namespaces

Describe alternatives you've considered

No response

Additional context

No response

srieteja commented 1 week ago

Implementation is partially complete, carrying this forward to PR95 to complete implementation and tests.