[GH-ISSUE #58] creating additional users #47

Open
opened 2026-02-26 21:34:11 +03:00 by kerem · 6 comments
Owner

Originally created by @SmartHome2021 on GitHub (Oct 25, 2024).
Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/58

I can't find an item or mechanism that allows you to create an additional account for PG BACK WEB.
I need to give access to a colleague who is not ready to give him my password

I see that there is a separate table with a user in the database, but I don't understand how to add another one

Originally created by @SmartHome2021 on GitHub (Oct 25, 2024). Original GitHub issue: https://github.com/eduardolat/pgbackweb/issues/58 I can't find an item or mechanism that allows you to create an additional account for PG BACK WEB. I need to give access to a colleague who is not ready to give him my password I see that there is a separate table with a user in the database, but I don't understand how to add another one
Author
Owner

@sean-ias commented on GitHub (Nov 23, 2024):

Hi @SmartHome2021 were you able to create a web hook for telegram notification?

and also I tried to edit their native users database table it works only in login, the next pages dont appear to you cause of code ACL functionality

<!-- gh-comment-id:2495386045 --> @sean-ias commented on GitHub (Nov 23, 2024): Hi @SmartHome2021 were you able to create a web hook for telegram notification? and also I tried to edit their native users database table it works only in login, the next pages dont appear to you cause of code ACL functionality
Author
Owner

@eduardolat commented on GitHub (Nov 24, 2024):

Hello, this feature is not implemented yet, in future updates will be included

<!-- gh-comment-id:2496136394 --> @eduardolat commented on GitHub (Nov 24, 2024): Hello, this feature is not implemented yet, in future updates will be included
Author
Owner

@SmartHome2021 commented on GitHub (Nov 25, 2024):

Hi @SmartHome2021 were you able to create a web hook for telegram notification?

Hi, yes I did. Here is an example:
You have to create a bot, add it to the channel and find out the channel id and the bot id, then insert them into the code specified below.
Method: POST or GET

URL:
https://api.telegram.org/bot72********:AA***************************************/sendMessage?chat_id=-45********&text= ⛈ Error cloud Backup ⛔️
That is all !

<!-- gh-comment-id:2497291659 --> @SmartHome2021 commented on GitHub (Nov 25, 2024): > Hi @SmartHome2021 were you able to create a web hook for telegram notification? Hi, yes I did. Here is an example: You have to create a bot, add it to the channel and find out the channel **id** and the bot **id**, then insert them into the code specified below. **Method**: POST or GET **URL**: `https://api.telegram.org/bot72********:AA***************************************/sendMessage?chat_id=-45********&text= ⛈ Error cloud Backup ⛔️` That is all !
Author
Owner

@eduardolat commented on GitHub (Nov 25, 2024):

You can also use tools like n8n if you need something more complex but easy to use

<!-- gh-comment-id:2498626528 --> @eduardolat commented on GitHub (Nov 25, 2024): You can also use tools like [n8n](https://github.com/n8n-io/n8n) if you need something more complex but easy to use
Author
Owner

@mrmuiz commented on GitHub (Dec 3, 2025):

This would be awesome

<!-- gh-comment-id:3608430026 --> @mrmuiz commented on GitHub (Dec 3, 2025): This would be awesome
Author
Owner

@AyushSehrawat commented on GitHub (Dec 28, 2025):

pgbackweb enables pgcrypto extension here, so you can directly add users through sql query too

INSERT INTO users (name, email, password)
VALUES (
  'john', 
  'john@doe.com', -- make sure it's lowercase
  crypt('password', gen_salt('bf', 10))
);
Image
<!-- gh-comment-id:3694814123 --> @AyushSehrawat commented on GitHub (Dec 28, 2025): pgbackweb enables pgcrypto extension [here](https://github.com/eduardolat/pgbackweb/blob/main/internal/database/migrations/20240720055349_enable_extensions.sql), so you can directly add users through sql query too ```sql INSERT INTO users (name, email, password) VALUES ( 'john', 'john@doe.com', -- make sure it's lowercase crypt('password', gen_salt('bf', 10)) ); ``` <img width="1952" height="627" alt="Image" src="https://github.com/user-attachments/assets/5af728db-b37e-4dec-bd2a-309f991d82fc" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#47
No description provided.