mirror of
https://github.com/mikedilger/chorus.git
synced 2026-01-03 06:15:33 +00:00
1.1 KiB
1.1 KiB
Migration
From 1.0 to 2.0
-
Add to your config file
admin_hex_keysto include the nostr hex keys of administrators. These will (eventually) be allowed to manage users and moderators remotely via the management interface. Note that being an admin does NOT automatically grant user or moderator rights, it ONLY grants the right to administer users. -
Users and moderators are now dynamically configured in the database. Use
chorus_cmdto manage them from the command line:
- Adding a user:
chorus_cmd add_user <pubkey> 0 - Adding a moderator:
chorus_cmd add_user <pubkey> 1 - Removing a user or moderator:
chorus_cmd rm_user <pubkey> - Listing users and moderators:
chorus_cmd dump_users
- Remove the following from your config file as these are no longer used:
user_hex_keys- users are now dynamically configured and configuration is in the database.moderator_hex_keys- moderators are now dynamically configured and configuration is in the database.
- Configuration setting
public_key_kexhas been renamedcontact_public_key_hexand is used only for the NIP-11 data.