Lockout is a Craft CMS plugin that temporarily restricts control panel access during deployments, content freezes, and structural changes. Its database-backed state survives project config application, while permissions and per-environment configuration determine who can enter and how locked-out requests respond.
Features
- Dedicated utility — see whether Lockout is enabled, the active environment, and whether the state comes from the database or a config override, then toggle it from one place.
- Permission-based access — grant users permission to manage Lockout or bypass it while everyone else remains locked out; administrators always retain access.
- Deployment-safe state — the database-backed toggle survives
project-config/apply, making it suitable for deployment scripts and content freezes. - Environment overrides — force Lockout on or off from
config/lockout.php; an active override disables the utility toggle and clearly identifies its source. - Custom lock screen — set the headline and message, return either a 403 or 503 response, and optionally render your own template.
- CLI ready — enable, disable, or inspect Lockout from deployment scripts, with status output that includes the effective state and its source.
Documentation
Visit the repository README for all documentation on usage and configuration.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
92
License
MIT
Last release
July 22, 2026
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs