Skip to content

Admin/Roles #495

Aug 17, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @theejootar - Depending on your infra the steps might be different, but generally you'll need to access your database file and manually update the user record. From the Hush Line repo root, go to the instances folder and from a terminal, enter:

sqlite3 hushline.db

Then to create an admin role, enter:

UPDATE users
SET is_admin = true
WHERE primary_username = 'whatever_username';

Once you do that log out of the admin account and back in. When you go to your Settings page you'll see a new Admin tab. From there you can set users as verified!

Please let me know if this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@theejootar
Comment options

Answer selected by glenn-sorrentino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants