=== Controlled Admin Access Pro === Contributors: waseem_senjer, wprubyplugins Donate link: https://wpruby.com Tags: access, Access Manager, admin, capability, page, Post, role, user, widget Requires at least: 4.0 Tested up to: 7.1 Stable tag: 3.0.5 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Give a temporarily limited admin. access to theme designers, plugins developers and support agents. == Description == Give a temporary limited admin. access to themes designers, plugins developers and support agents. The plugin is simple and clean, it helps the administrator to create a user with a temporary access and choose which pages in your admin area which you don't want the user to access. send the details to the user and when he finished his task, you can easily deactivate the account and activate it later. == Installation == 1. Upload `controlled-admin-access` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. In the dashboard, click on `Controlled Access` == Screenshots == 1. Add User Page 2. Manage Users Page 3. Edit User Page == Changelog == = 3.0.5 = * Security: The plugin's admin requests (creating, editing and deleting administrators, login links, logs, settings and the licence) checked only the request token. They now also require a full administrator who isn't a Controlled Admin Access account, so a restricted administrator can't change their own restrictions or delete other administrators. * Security: The activity log now records the connection's IP address. Client-IP and X-Forwarded-For headers, which anyone can set, are only used if your site is behind a trusted proxy or CDN and you add: add_filter( 'caa_trust_proxy_headers', '__return_true' ); = 3.0.4 = * Fixed: A restricted page could still be opened by adding parameters to its address, for example a second page of the Pages list (edit.php?post_type=page&paged=2). Restricted pages are now blocked whatever extra parameters the address has. * Fixed: Restricted plugin pages whose menu link carries arguments, such as WooCommerce Customers (wc-admin&path=/customers), were hidden from the menu but could still be opened. * Fixed: Deleting administrators in bulk removed their posts. Like a single delete, their posts now go to you. = 3.0.3 = * Fixed: Administrators with full access (no restricted pages) could still log in after their account expired or was deactivated, and ignored the "allow password login" setting. Every account created in Controlled Admin Access now follows these rules; other users are not affected. = 3.0.2 = * Fixed: The edit dialog showed no plugin page restrictions (WooCommerce, Easy Digital Downloads, BuddyPress) even when some were saved, so a restricted administrator could look like they had full access. * Fixed: Restrictions on pages that are no longer in the admin menu were kept but not shown. The edit dialog now lists them so they can be removed. * Fixed: Reset User now also removes plugin page restrictions. * Fixed: WooCommerce and Easy Digital Downloads page restrictions are now enforced. Restricted settings, status and reports tabs are hidden and blocked. = 3.0.1 = * Changed: Removed the "WC tested up to" header. The plugin does not depend on WooCommerce, so WooCommerce no longer lists it in its compatibility checks. = 3.0.0 = * Changed: A redesigned admin screen built with Vue 3, with a new administrators table, add and edit dialog, activity log and settings page. All existing settings, restrictions and accounts carry over without any changes. * Changed: License activation is now a License tab inside the plugin screen. The existing activation link still opens it. * Added: Confirmation before bulk deleting administrators and before deleting selected activity logs. * Added: Clear success and error messages for every action, including when a request fails. * Added: Keyboard and screen reader support for all controls, dialogs and menus. * Added: Responsive layout for tablets and phones. * Added: A manual copy option for login links when the browser clipboard is not available. * Changed: The admin screen's files are bundled with the plugin and load only on its own pages. Google Fonts are no longer loaded. * Fixed: Selecting a dashboard sub page could also restrict its whole parent menu. * Fixed: "After Login Redirect User To" showed an empty value when no valid option was stored. It now shows Dashboard, which is where users were already redirected. * Added: WordPress 7.1 and WooCommerce 11.2 compatibility. = 2.3.1 = * Fixed: Update email title and remove preheader text in email template. = 2.3.0 = * Added: `caa_redirect_to` filter to allow other plugins to redirect the user after login. * Added: WordPress 6.7 compatibility. * Fixed: restrict access for non-Caa accounts in user validation. = 2.2.0 = Fixed: Block editing blocked post types. = 2.1.9 = Added: Adding bulk deleting of activity logs. = 2.1.8 = Fixed: block access of displaying options.php page, submitting this form was blocked in a previous version (2.1.4). = 2.1.7 = Fixed: Not adding logs if the user is not logged in = 2.1.6 = Added: Password field when creating/updating a user. = 2.1.5 = Fixed: only create a new password when the admin is created = 2.1.4 = Fixed: blocking options.php POST requests were preventing other plugins from saving options. = 2.1.3 = * Fixed: A migration issue that was causing the updating user process not working. = 2.1.2 = * Fixed: parent_file filter was missing a parameter that prevents correct menu filtering. = 2.1.1 = * Fixed: search for users was blocked. * Fixed: rename endpoints actions to prevent collisions with other plugins. * Fixed: The Docs link was not correct. = 2.1.0 = * Added: A button to reset the user restrictions. * Added: prevent editing the plugin's code in the plugins' editor. * Fixed: PHP warning in migrations. * Fixed: Restricting main admin when creating a user. = 2.0.0 = * Added: Activity Log for restricted admins. = 1.0.0 = * Initial Release