跳至主要內容
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 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

由Ga Satrya
下載
Live Preview
  • 詳情
  • 評價
  • 開發
支援

描述

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

螢幕截圖

Plugin settings
Plugin settings

評價

Simple and to the point

esamzenhom 2024年11月25日 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
閱讀全部1個評價

貢獻者及開發者

“UserFlow – Disable Dashboard Access for Non Admin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Ga Satrya

將 UserFlow – Disable Dashboard Access for Non Admin 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

1.3.1

  • Security: Hardened settings reset handler with request-method check and nonce improvements.
  • Improved: Replaced per-username DB queries with single batched query for settings save performance.
  • Improved: Added explicit access-control fallthrough logic and removed stale static cache.
  • Improved: Separated settings-page capability filter from dashboard-access filter.
  • Improved: Settings sanitization now guarantees consistent option shape on save.
  • Improved: Added meta-refresh fallback when redirect headers cannot be sent.
  • Improved: Username validation errors now show count only to prevent enumeration.
  • Added: Plugin uninstall handler to clean up stored options on deletion.
  • Added: AJAX bypass behavior documented in settings help tab.
  • Added: Sidebar promotion box for developer services.
  • Dev: Improved test mock fidelity for wp_validate_redirect and WP_User_Query.
  • Dev: Fixed Composer license to valid SPDX identifier.

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

其它

  • Version 1.3.1
  • Last updated 1 個月之前
  • Active installations 20+
  • WordPress version 6.5 or higher
  • Tested up to 7.0.4
  • PHP version 7.0 or higher
  • Language
    English (US)
  • Tags
    accessdashboardloginmembershiprestrict
  • 進階顯示

評分

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

貢獻者

  • Ga Satrya

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。
The WordPress® trademark is the intellectual property of the WordPress Foundation.