-
Notifications
You must be signed in to change notification settings - Fork 24
User Management
Elora VPN edited this page Nov 5, 2024
·
2 revisions
The User Management system provides comprehensive functionality for managing users in the VPN management panel. This includes user creation, modification, listing, and deletion with features like balance tracking, referral system, and Telegram integration.
-
Username: 3-32 characters, alphanumeric with underscores (e.g.,
john_doe
) - First Name: User's first name
- Last Name: User's last name (optional)
- Password: Required for account creation
- Telegram Chat ID: Unique identifier for Telegram integration
- Telegram Username: User's Telegram handle
- Phone Number: Contact phone number
- Email Address: User's email address
- Balance: User's current balance (displayed in readable format)
- Enable: Toggle user account activation
- Banned: User ban status
- Force Join Channel: Require channel membership
- Created At: Account creation timestamp
- Modified At: Last modification timestamp
-
Click the purple CREATE button
-
Fill in the required fields:
- First Name
- Last Name (optional)
- Username
- Password
- Telegram Chat ID
- Telegram Username
- Phone Number
-
Configure additional settings:
- Enable: Toggle account activation
- Banned: Set ban status
- Force Join Channel: Require channel membership
-
Click SUBMIT to create the user
The main user interface displays:
- ID
- Full Name
- Balance
- Type (Unique identifiers)
- Enable Status
- Modified Date
- Action buttons
- Use the search bar to filter by:
- First Name
- Last Name
- Username
- Telegram Username
- Telegram Chat ID
Click the "Created" dropdown to sort by:
- Creation date (ascending/descending)
- Modified date
- First name
- Last name
- Telegram username
- Is debt: Show users with negative balance
- Enable/Disable: Filter by account status
Each user entry has the following action buttons:
- 🗑️ Delete: Remove user account
- ✏️ Edit: Modify user information
- 👥 Accounts: Manage user's accounts
- 👤 Profile: View user profile
- 💬 Message: Send message to user
When editing a user, you can modify:
- Basic information
- Contact details
- Account status
- System settings
- 3-32 characters length
- Allowed characters: a-z, 0-9, underscore
- Underscores cannot be at start/end
- Must be unique in system
- Account Management
- Order History
- Payment Processing
- Transaction Records
- Notifications System
- Club Scoring System
- Referral System
- Validate all input fields
- Check for username uniqueness
- Verify Telegram information
- Set appropriate initial balance
- Configure default settings
- Regular account status review
- Monitor user balances
- Check for suspicious activities
- Maintain user privacy
- Regular data backup
- Password hashing using bcrypt
- Input validation and sanitization
- Rate limiting on API endpoints
- Access control checks
- Audit logging