Enhancement: Auto-balance Refill and Initial Credit Assignment for New Users #2599
Replies: 4 comments 2 replies
-
Hi @derhelge Very keen for this, I am looking at doing exactly the same thing. Are you able to share the changes you've made so far in their current form? Cheers |
Beta Was this translation helpful? Give feedback.
-
Hello, interested into this feature as well !! |
Beta Was this translation helpful? Give feedback.
-
I've been struggling for days with automatically balancing initial credit assignments for new users. Any help, please? |
Beta Was this translation helpful? Give feedback.
-
Here is a simple/hacky (i am not a js dev) script, adapted from add-balance.js. So every month every balance from all users is refilled to 5000000.
|
Beta Was this translation helpful? Give feedback.
-
What features would you like to see added?
I've hacked a simple patch that automatically assigns an initial balance to newly registered OIDC users, although it's currently in a basic form. Additionally, I've set up a script able to replenish user balances with
npm run refill-balances x
If there's interest, I could refine these implementations and submit them as separate pull requests.
Please let me know if this aligns with your roadmap and whether I should proceed.
More details
I use npm run refill-balances x in a simple cronjob on the host-system.
Which components are impacted by your request?
General
Pictures
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions