Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

Restrict users with certain User Roles from accessing the WordPress Dashboard (WP Admin).

License

Notifications You must be signed in to change notification settings

mattwatsoncodes/restrict-dashboard-by-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restrict Dashboard by Role

Restrict users with certain User Roles from accessing the WordPress Dashboard (WP Admin).

Restrict Dashboard by Role

About

If you have a WordPress website with multiple users and several User Roles defined, and you wish to prevent certain User Roles from accessing wp-admin, then this plugin is for you.

The plugin provides the following functionality:

  • An options screen, that lets you:
  • Restrict Access to the WordPress Admin Screen (WP Admin) for one or more User Roles.
  • Choose how to handle the restriction for users with multiple roles
  • Define a login screen error message (if no custom redirect URL is set)
  • Set a custom redirect URL

Installation

  1. Download this repository and unzip it into the folder restrict-dashboard-by-role
  2. Upload the restrict-dashboard-by-role folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Configure the plugin via the 'Restrict Dashboard by Role' options page under the WordPress 'Settings' Menu

Changelog

1.0.0 - 17.09.2015 - First stable release.
1.0.1 - 17.09.2015 - Updated POT File, and cleaned up legacy references.
1.0.2 - 17.09.2015 - Corrected options page path.
1.1.0 - 17.09.2015 - Added ability to choose how to handle restrictions for users with multiple roles.
1.2.0 - 27.09.2015 - Stopped the plugin blocking AJAX calls.
2.0.0 - 01.10.2015 - Code review and refactor.
2.1.0 - 01.10.2015 - Updated for submission to WordPress plugin repository.
2.1.1 - 08.08.2016 - Tested with WordPress 4.5, added option to allow forced logout, allowed all AJAX requests through, updated translations.
2.1.2 - 17.03.2017 - Added new artwork

About

Restrict users with certain User Roles from accessing the WordPress Dashboard (WP Admin).

Resources

License

Stars

Watchers

Forks

Packages

No packages published