New CLI Commands for Admin User Management
This release introduces a suite of command-line tools for managing administrator accounts:
New Commands
bin/create_admin <email>
- Create a new admin user with a generated passwordbin/promote_to_admin <email>
- Promote an existing user to adminbin/demote_admin <email>
- Remove admin privileges from a userbin/list_admins
- Display all admin users with details
Features
- Secure password generation
- Automatic user confirmation
- Colorized output for better readability
- Works in all environments (including Docker)
Example Usage
π Read more in the updated documentation:
https://docs.pwpush.com/docs/admin-dashboard/#via-application-console
π Whatβs Changed
- Admin: Add management commands (#3099) @pglombardo
β¬οΈ Dependencies updates
- β¬οΈ Bump aws-sdk-s3 from 1.180.0 to 1.181.0 (#3097) @dependabot[bot]
- β¬οΈ Bump overcommit from 0.66.0 to 0.67.0 (#3095) @dependabot[bot]
- β¬οΈ Bump rexml from 3.4.0 to 3.4.1 (#3096) @dependabot[bot]
- β¬οΈ Bump stringio from 3.1.2 to 3.1.3 (#3094) @dependabot[bot]
- β¬οΈ Bump rubocop-minitest from 0.36.0 to 0.37.0 (#3093) @dependabot[bot]
π₯ List of contributors
@dependabot[bot], @pglombardo and dependabot[bot]
π₯οΈ Docker Images
Available on Docker Hub:
https://hub.docker.com/r/pglombardo/pwpush
πββοΈ Run This Version
docker run -d -p 5100:5100 pglombardo/pwpush:1.51.2
..and go to http://localhost:5100