feat: Add admin management system with super admin controls #5

Merged
trevor merged 1 commits from v2_functions into master 2026-02-18 04:21:27 +00:00
Owner
  • Implemented two-level admin hierarchy (super admin from .env and assigned admins)
  • Only super admins (from ADMIN_IDS in .env) can manage admin assignments
  • Added admin management menu to settings (visible only for super admins)
  • Admins can add/remove other admins through the bot interface
  • Protected super admins from deletion
  • Added CLI tool for admin management (scripts/manage_admins.py)
  • Added database check script (scripts/check_db.py)
  • Added deployment scripts for server setup
  • Added comprehensive documentation on admin management system
  • Added backup and server deployment guides
- Implemented two-level admin hierarchy (super admin from .env and assigned admins) - Only super admins (from ADMIN_IDS in .env) can manage admin assignments - Added admin management menu to settings (visible only for super admins) - Admins can add/remove other admins through the bot interface - Protected super admins from deletion - Added CLI tool for admin management (scripts/manage_admins.py) - Added database check script (scripts/check_db.py) - Added deployment scripts for server setup - Added comprehensive documentation on admin management system - Added backup and server deployment guides
trevor added 1 commit 2026-02-18 04:21:21 +00:00
feat: Add admin management system with super admin controls
Some checks failed
continuous-integration/drone/pr Build is failing
e1b4465f89
- Implemented two-level admin hierarchy (super admin from .env and assigned admins)
- Only super admins (from ADMIN_IDS in .env) can manage admin assignments
- Added admin management menu to settings (visible only for super admins)
- Admins can add/remove other admins through the bot interface
- Protected super admins from deletion
- Added CLI tool for admin management (scripts/manage_admins.py)
- Added database check script (scripts/check_db.py)
- Added deployment scripts for server setup
- Added comprehensive documentation on admin management system
- Added backup and server deployment guides
trevor merged commit 2db39b0652 into master 2026-02-18 04:21:27 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trevor/new_lottery_bot#5
No description provided.