adds explainer for migrating from single author to edit group

This commit is contained in:
Vitor Pamplona 2024-05-07 19:49:09 -04:00
parent 7bf8ad68d0
commit ba2eb3b100

8
73.md
View File

@ -52,11 +52,11 @@ TBD
## Access Controls to Private Spreadsheets ## Access Controls to Private Spreadsheets
Private spreadsheets [NIP-44](44.md) encrypt the tag array and place it on the `.content` of the event and use `p` tags to pass rights to encrypt and decrypt to other users. Private spreadsheets [NIP-44](44.md)-encrypt the tag array, place it on the `.content` of the event, and use `p` tags to pass rights to encrypt and decrypt to other users.
This section explores the 4 modes of operation. This section explores the 3 modes of operation.
### Author-only design ### Author-only permission
In this version, the spreadsheet is signed by the main keys of an author and only the author can decrypt. It doesn't not include any `p` tag. In this version, the spreadsheet is signed by the main keys of an author and only the author can decrypt. It doesn't not include any `p` tag.
@ -186,3 +186,5 @@ val edittingKeyPair = nostr.generateKeyPair()
## Final Considerations ## Final Considerations
Spreadsheets SHOULD NOT have private and public parts at the same time. Spreadsheets SHOULD NOT have private and public parts at the same time.
When users sign a private spreadsheet with their own keys, they can add viewers but cannot add editors. In order to add editors, the user will have to duplicate the replaceable in a new shareable key and delete the current one.