Simple Restrict
Restrict pages based on permissions assigned to pages and granted in user profiles.
Install in
This plugin allows you to easily mark certain pages with “Permissions” and only users with those permissions will be allowed to see the contents of the page.
-
Page Permissions: This plugin adds a new Permissions taxonomy to your pages. Administrators can create/assign new permissions from the Edit Page screen (you can also use the Quick Edit link). You can add/edit/delete permissions from the Permissions sub-menu under the Pages menu. Pages with no assigned permissions can be seen by everyone.
-
User Permissions: Administrators can add/remove permissions from a user using the checkboxes on the Edit User screen. The All Users page has a column that shows the permissions assigned to each user.
-
Restriction Message: If a page has permissions assigned, the content will only be visible to users that have one of those same permissions assigned. Otherwise, the content will be replaced by a generic message or a custom message which can be defined in the plugin settings using the standard WordPress editor (including the ability to add media and formatting).
-
Redirect to login: Instead of a restriction message, you can choose to have users get redirected to the login page.
Written by Joobi from the project's own listing. See the source page
1.2.10
Security fix ( Thanks to Pham Cong Lap (Clapboiz) of HPT VN )
1.2.9
Fixed: Incorrect Authorization (CWE-863) in the REST API restriction check, which allowed a Contributor-level user to bypass page permissions enforced on the frontend ( Thanks to Shikhali Jamalzade )
1.0.0
- Initial release
1.0.1
- Updates to translations
1.0.2
- Switch to translate.wordpress.org.
- Testing on WordPress 4.5.
1.0.3
- Updates to readme and descriptions.
1.0.4
- Update to show Tested up to WordPress 4.9.4
1.1.0
- Adds option to redirect user to login page instead of showing the restriction message (thanks to ClearPathDigital)
- Updates to readme, description and FAQ to include GitHub URL.
- Tested up to WordPress 4.9.8
1.2.0
- Allows restriction of homepage
1.2.1
- Fixes a bug that caused the default restriction message to be ” (empty text) instead of the plugin’s usual default.
1.2.2
- Adds compatibility with WordPress 5.0 (Gutenberg editor)
1.2.3
- Minor bug fix with Permissions column on Users page
1.2.4
- Changing the WordPress capability required for editing a user’s permissions from manage_options to edit_users.
1.2.5
- Fixes a bug that would erase user permissions when they edited their own profile.
1.2.6
- Adds ‘Security Risk – Seeking Adoption’ message and adds ‘adopt-me’ tag. Do not use this plugin until a new version is released. The team at WordFence has advised me of a security risk with this plugin. I am no longer in a position to develop or update this plugin. I am therefore putting this plugin up for adoption as described here. If nobody expresses interest in taking over this plugin within the next 30 days I will be removing it from the WordPress plugin repository.
1.2.7 – 14.02.2024
Fixed: Security issue
1.2.8 – 28.11.2024
Fixed: Security issue ( Thanks to Francesco Carlucci )
Follow this listing's changes (Atom feed)