mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
add and remove permissions actions.
This commit is contained in:
parent
16407807de
commit
d1f08d724c
4
29.md
4
29.md
|
@ -62,6 +62,8 @@ The list of capabilities, as defined by this NIP, for now, is the following:
|
|||
- `edit-metadata`
|
||||
- `delete-message`
|
||||
- `ban-user`
|
||||
- `add-permission`
|
||||
- `remove-permission`
|
||||
|
||||
```js
|
||||
{
|
||||
|
@ -90,6 +92,8 @@ An event sent from a client to the relay in order to accomplish a moderation act
|
|||
["action", "ban-user", "<pubkey-to-ban>"],
|
||||
["action", "delete-message", "<event-id-to-delete>"],
|
||||
["action", "edit-metadata", "<field-name>", "<field-value>"],
|
||||
["action", "add-permission", "<pubkey>", "<permission>"],
|
||||
["action", "remove-permission", "<pubkey>", "<permission>"],
|
||||
]
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user