WP Manifestindependent plugin directory
manifest / users / access-denied-wordpress

Dashboard Access Denied

A lightweight WordPress plugin that restricts dashboard access for subscribers and other non-editor users. The plugin hides the admin bar and redirects unauthorized users away from the WordPress admin area.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/gulshanbasouli/access-denied-wordpress/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WordPress plugin that restricts dashboard access for subscribers and other non-editor users. The plugin hides the admin bar and redirects unauthorized users away from the WordPress admin area.

Features

  • Disable WordPress admin bar for subscribers
  • Restrict dashboard access for users without post editing capabilities
  • Automatically redirect unauthorized users to the website homepage
  • Lightweight and easy to use
  • No configuration required

Installation

  1. Download the plugin files.
  2. Upload the plugin folder to: /wp-content/plugins/
  3. Activate the plugin through the WordPress Admin Dashboard.
  4. The plugin will automatically start restricting dashboard access for unauthorized users.

How It Works

Admin Bar Restriction

Users who do not have the edit_posts capability will not see the WordPress admin bar when browsing the website.

Dashboard Access Restriction

Users who do not have the edit_posts capability are prevented from accessing the WordPress admin dashboard and are redirected to the site's homepage.

Ideal For

  • Membership websites
  • Client portals
  • Community websites
  • Educational platforms
  • Websites with subscriber-only accounts

Requirements

  • WordPress 5.0+
  • PHP 7.4+

Author

Gulshan Chauhan

Plugin URI

https://github.com/gulshanbasouli/access-denied-wordpress

License

GPL v2 or later