Skip to content
WordPress.org

Sicilianu

  • Themes
  • Plugins
  • About
  • Contact
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

UserFlow – Disable Dashboard Access for Non Admin

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

UserFlow – Disable Dashboard Access for Non Admin

By Ga Satrya
Download
Live Preview
  • Details
  • Reviews
  • Development
Support

Description

Remove dashboard access to non-admin users and easily control who can access your WordPress dashboard with simple configuration. By default, only administrators are allowed, but you can now whitelist specific trusted users by username—perfect for developers, VAs, or contractors.

Features include:

  • Whitelist specific users by username
  • Session expiration controls (1-24 hours)
  • Option to apply session timeout to administrators
  • Custom redirect URL for blocked users
  • Secure, validated, and sanitized settings
  • Hide admin toolbar for non-authorized users
  • Developer-friendly filters for advanced customization

Why Choose UserFlow?

  • Maximum Protection: Instantly block unauthorized users from accessing sensitive dashboard areas.
  • Effortless Whitelisting: Grant dashboard access to trusted users (developers, VAs, contractors) without changing their roles. Just add their usernames!
  • Session Security: Automatically log out users after a set period for bulletproof session management. Choose from multiple timeout intervals and apply to all users or just non-admins.
  • Custom Redirects: Guide blocked users to a branded page or helpful resource instead of the generic homepage.
  • Zero Configuration Needed: Works out of the box—only administrators can access the dashboard until you customize settings.

Perfect For:

  • Website owners who want peace of mind
  • Agencies and developers managing multiple sites
  • Teams needing granular dashboard access
  • Anyone serious about WordPress security

Protect your site, empower your workflow, and deliver a professional experience—all with one lightweight plugin.

Read more detail

Screenshots

  • Plugin settings

Reviews

Simple and to the point

esamzenhom November 25, 2024 1 reply
I’m Wondering how their are no reviews for this plugin, but really its as simple as it is, very effective 🙂 thanks for the developer
Read all 1 review

Contributors & Developers

“UserFlow – Disable Dashboard Access for Non Admin” is open source software. The following people have contributed to this plugin.

Contributors
  • Ga Satrya

Translate “UserFlow – Disable Dashboard Access for Non Admin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.0

  • Rebranding: Formally renamed the plugin to UserFlow.
  • Added: Support for WordPress 7.0.
  • Refactor: Moved inline JavaScript and CSS to external files for better security and maintainability.
  • Improved: Updated settings sidebar to connect with the developer on LinkedIn.
  • Improved: Settings page formatting and code structure.
  • Improved: Updated settings labels for better clarity.
  • Improved: Use wp_validate_redirect for more robust same-site URL validation.
  • Added: admon_access_capability filter for developer customization of access rights.
  • Fix: Updated make-pot composer script for Windows compatibility.

1.2.5

  • Performance: Optimized access checks with static caching (memoization) to reduce redundant processing.
  • Fix: Ensured settings errors and success messages are correctly displayed on the settings page.
  • Improved: Better UI feedback when saving or resetting settings.
  • Improved: Added GitHub Actions automated deployment for WordPress.org SVN.
  • Assets: Added new plugin banners and icons for the WordPress.org repository.

1.1.1

  • Security Fix: Patched Open Redirect vulnerability in URL validation logic.
  • Improved: Stricter validation for custom redirect URLs.
  • Improved: Added Contextual Help tabs in settings page.

1.1.0

  • Added session timeout management with configurable intervals (1-24 hours)
  • Added custom timeout duration option (1-168 hours)
  • Added username whitelist for granting dashboard access to specific non-admin users
  • Added custom redirect URL for blocked users
  • Added option to apply session timeout to administrators
  • Added “Remember Me” override functionality
  • Enhanced security with proper input sanitization and validation
  • Improved user interface with comprehensive settings page
  • Added reset to defaults functionality
  • Updated to follow WordPress coding standards

1.0.0

  • First version

Meta

  • Version 1.3.0
  • Last updated 6 days ago
  • Active installations 10+
  • WordPress version 6.5 or higher
  • Tested up to 7.0
  • PHP version 7.0 or higher
  • Language
    English (US)
  • Tags
    accessdashboardloginmembershiprestrict
  • Advanced View

Ratings

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Contributors

  • Ga Satrya

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Sicilianu

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.