Admin/Roles #495
Answered
by
glenn-sorrentino
theejootar
asked this question in
Q&A
-
How do we assign an user a role like Admin or Verified? |
Beta Was this translation helpful? Give feedback.
Answered by
glenn-sorrentino
Aug 28, 2024
Replies: 1 comment 1 reply
-
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 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! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
glenn-sorrentino
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:Then to create an admin role, enter:
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!