Block a user
Last updated
Was this helpful?
Last updated
Was this helpful?
If you are the website owner, you can block users by adding their signing key to the appendable data associated with the current page.
The plugin fetches the signing key of the user you want to block.
controller.js
The plugin adds the signing key of the user you want to block to the filter of the appendable data associated with the current page. Since the filter of the appendable data is a blacklist, everyone except the keys listed in the filter will be allowed to append data.
controller.js
The plugin updates the appendable data associated with the current page by sending a POST request to the SAFE Network.
controller.js
controller.js
The plugins serializes the signing key of the user you want to block.
controller.js
The plugin adds the serialized signing key of the user you want to block to the list of block users for the current page.
controller.js
The plugin updates the structured data with the new list of block users.
controller.js
The plugin saves the structured data by sending a POST request to the SAFE Network.
controller.js
The plugin creates a new structured data based on the URL of the current page. This structured data will be used to store the list of blocked users for the current page. Whenever you want to block a user, the plugin will add their public name and their signing key to that structured data.
The plugin creates a new structured data that contains the public name and the serialized signing key of the user you want to block.
controller.js
controller.js
The plugin saves this new structured data by sending a PUT request to the SAFE Network.
controller.js
The plugin drops the handle that represents the signing key of the user you just blocked.
controller.js
Whenever you block a user, the plugin adds their public name and their signing key to a structured data associated with the current page. Using this list of blocked users, you can based on their public name.
After the user has been blocked, the plugin .
After the user has been blocked, the plugin .