Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Myself an Admin #560

Closed
digisavvy opened this issue Oct 17, 2024 · 3 comments
Closed

Make Myself an Admin #560

digisavvy opened this issue Oct 17, 2024 · 3 comments
Labels
question Further information is requested

Comments

@digisavvy
Copy link

My account doesn't have admin privileges so I can't initiate a search re-index
Screenshot

How can I modify my account to be an admin?

@MohamedBassem
Copy link
Collaborator

The account automatically becomes an admin account if it's the first created account. If you want to promote another account to be an admin you'll have to modify the database to do this (as of now).

Basically, run the following query against the sqlite database in the DATA_DIR:

update user set role='admin' where id='<USER_ID>'

If this doesn't make sense to you, you can join the discord server and we can give you a step by step guide on how to do it.

@MohamedBassem MohamedBassem added the question Further information is requested label Oct 17, 2024
kamtschatka added a commit to kamtschatka/hoarder-app that referenced this issue Oct 18, 2024
added  user management functionality to the admin page
MohamedBassem added a commit that referenced this issue Oct 19, 2024
…new users. Fixes #495  (#567)

* How do I set the variable "user" or "system" for AI inference #262
changed from system to user

* Make Myself an Admin #560
added  user management functionality to the admin page

* A bunch of UI fixes and simplifications

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
@digisavvy
Copy link
Author

Perfect! That did it. =)
Thank you.

@kamtschatka
Copy link
Contributor

changing roles is now possible in the UI by Admins on the "Admin Setting" page

kamtschatka added a commit to kamtschatka/hoarder-app that referenced this issue Nov 2, 2024
…new users. Fixes hoarder-app#495  (hoarder-app#567)

* How do I set the variable "user" or "system" for AI inference hoarder-app#262
changed from system to user

* Make Myself an Admin hoarder-app#560
added  user management functionality to the admin page

* A bunch of UI fixes and simplifications

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants