-
-
Notifications
You must be signed in to change notification settings - Fork 3
Changelog
Jory Hogeveen edited this page Mar 27, 2017
·
33 revisions
PR: 42
- Feature: New module Role manager. Add, edit and/or remove roles and grant or deny them capabilities. #43
- Feature: Module Role Defaults: Added the option to copy defaults from one role to another (or multiple). #44
- Enhancement/UI: Enable and Improve responsive styles/a11y. #16
- Enhancement/UI: Improved the autoHeight calculation (submenu and popup).
- Enhancement: View combinations now working in code (No UI). #18
- Enhancement: Major code refactoring for better standards en easier development.
- Maintenance: Validated compatibility with "Restrict User Access" (RUA) plugin v0.14. #31
- Compatibility: Tested with WordPress 4.8 (alpha) and requires WordPress 4.1 or higher (was 3.5).
- Fix: Fixed all major CodeClimate issues. All green now!
- Wiki (documentation) updated.
- Screenshots & Banners updated.
Detailed info: PR on GitHub
- Feature: Integration with the "Restrict User Access" (RUA) plugin. Introduces a new view type "access levels" when this plugin is activated. #31
- Enhancement: Improve compatibility with plugins that use the current user object. Related: #32
- Enhancement: Improve compatibility with plugins that use the role objects.
- Enhancement: Redirect to homepage when selecting the visitor view.
- Enhancement: Integrate with the capability groups in plugin "User Role Editor".
- Fix: Started to use CodeClimate for style checks + applied fixes. #37
PR: #29
- Feature: Meta sync manager UI for the role defaults module #28
- Feature: Multiple import methods for the role defaults module #27
- Enhancement: Also update the current user object's capabilities and roles to improve support for other plugins #32
- Other minor improvements
PR: #23
- Feature: A new view! You can now see your site as an unregistered visitor (no need to switch browsers) #14
- Enhancement: Reduced queries for getting the available users to 1! Performance improvement to the native WP function
get_users()
(with fallback if needed) #24 - Enhancement: Add all existing roles that have defaults to the clear list even if they have been removed from WP #22
- Enhancement: Enable the current view as a capability filter
- Enhancement: Highlight the view capabilities in the capability menu
- Enhancement: Pass view data as JSON (enhances compatibility with weird capability identifiers since WP doesn’t escape these so it could contain special characters)
- Enhancement/Fix: Compatibility with the
editable_roles
filter for non super admins - Fix: Hide our toolbar in the customizer preview. Switching in the WP Customizer not possible (yet)
- Fix: Improve capability view handling
- Other minor fixes
PR: #20
- Feature: Freeze locale, force your own locale setting over that of a selected view. (Requires WP 4.7) #21
- Enhancement: Added a11y keyboard tab indexes
- Fix: Reloading when anchor tags are set in the url #17
- Other minor fixes
PR: #8
- Feature: Lock meta boxes #9
- Feature: View as links in user management page #12
- Enhancement: Better admin bar handling when set to hidden by user #4
- Also adds an option to hide/show our toolbar when now view is selected and the admin bar is not shown.
- Enhancement: Better handling for permission errors #10
- Compatibility: Show our custom capabilities on role manage plugins like Members
- Compatibility: PHP 5.2 (WP minimum)
- Fix: occasional issues with enabling the Role Defaults module
- Refactor whole backend into multiple classes for more flexibility in future development
PR: #6
- Feature: Switch between super admins on network pages (currently only available for superior admins, see
view_admin_as_superior_admins
filter) - Improvement: Better handling of role defaults for new users
- Improvement: Also hide the screen options for all users who can access this plugin default functionalities but can’t access the role defaults module
- UX: Confirm before deleting role defaults
- UI: Translate user roles in front end (WP issue workaround)
- UI: Fix icon sizes across browsers
- Tested for WordPress 4.6
- Fix: minor bug with displaying role names
- Fix: minor bug with displaying role defaults menu item
- Feature: Added the
view_admin_as_superior_admins
filter. Grant admins the capability to view other admins. There is no UI for this! - Improvement: (Module Role Defaults) Added forbidden meta keys to make sure user entered keys (filter) are ok to use.
- Improvement: (Settings tab) Add the option to group users under their roles. This option is only available when there are less than 15 users and roles, otherwise this is default
- Improvement:
view_admin_as_role_defaults
capability for access to the “Role Defaults” module when a user isn’t a super admin - Performance: Less queries for user validation
- Fix: (Module Role Defaults) Problem solved with unsetting meta keys
- Fix: Problem solved with anchor tags preventing javascript from reloading
- Fix: Problem solved with reset button on single switch mode
- UI: Move “Role Defaults” to the top
- UI: Remove the reset button when no view is selected
- UI: Added some of those pretty dashicons
- UI: Allow titles to toggle content
- Resource: Started with viewadminas.wordpress.com
- Feature:
view_admin_as
capability for non-admin users to enable limited access to this plugin (they won’t be able to view or edit equal or admin users and roles). This capability requires theedit_users
capability (+manage_network_users
for multisite installations) - Feature: Ability to disable the “screen settings” option for all users that don’t have access to this plugin
- Fix: die_handler for https
- Fix: reset currently loaded metadata aswell when resetting a view (refresh is no longer needed, minor bug in 1.5)
- Added notices on compatibility errors
- Upgrade notice: The plugin code changed a lot, please clear your cache after updating
- Feature: Import and export functions for module “Role defaults”
- Feature: (Settings tab) View mode “browse” and “single”
- Feature: (Settings tab) Change location of this plugin menu
- Improvement: Better capability filter (used for changing capabilities and roles)
- Improvement: Added some actions for extension purposes
- Improvement: Better version compare
- Improvement: Better code standards and data validation
- Compatibility: Backwards compatibility until WP 3.5+ (3.8+ is highly recommended, 4.0+ is best!)
- Security: Better data validation and usage of a nonce (allthough in this case I don’t think it made any difference for actual security, it’s still good to implement proper security!)
- i18n: All translations are now managed with translate.wordpress.org
- Screenshots updated
- Improvement: Improve how capabilities are fetched
- Improvement: Usage of a single instance of the class
- Tested with WordPress 4.5-Beta4
- Feature: Module “Role defaults” to set default screen settings for roles and apply them on users through various bulk actions
- Improvement: DB version storage and update functions
- A lot of code improvements and some deprecated fixes
- Stopped using WordPress default translations since some where not correct for this plugin. All translations are now managed with the plugin
- Also tested with WordPress 4.5-Beta1
- Improvement: View settings are saved separately for each browser login so you can set different views at the same time if you use different browsers. (incognito also works!)
- Improvement: View settings are saved for 24 hours. After that they are cleared automatically. (login triggers cleanup)
- Improvement: Better Ajax handlers
- Improvement: Better storage handlers
- Improvement: uninstall.php added for cleanup all data. (Sadly does not work for large networks of 10000+ sites or users)
- Tested with WordPress 4.5-Beta1
- Improvement: Changed “init” hook to “plugins_loaded” for theme support (found some issues with the Genesis Framework, this solved it)
- Feature: Added the ability to filter capabilities by the role defaults (normal and reversed)
- Capability filter improved
- Fix: constructor for PHP7
- Fix: Stop loading css and scripts on frontend when no view is selected and the adminbar is disabled
- Added version tag to css and scripts
- Feature: Added the ability to (non-destructively) change your own capabilities
- Feature: Added reset link on the “access denied” page when a view is selected
- Remove ‘reset-view’ from address bar when selecting a new view
- Added capability screenshots
- Added a FAQ
- Tested with WordPress 4.4-Beta4
- Added support for users with multiple roles
- Enabled switching to admin users for multisites (switching to super admins is always disabled!)
Warning fixed
- Support i18n functionality (currently only English and Dutch, translators are welcome!!) – Note: I use default WordPress strings aswell
- When grouped (10+ users): show number of users per role
- When grouped (10+ users): ability to search for users by their username
- Disable forcing the admin bar when in default view (Off)
- Some extra code and style improvements
- Sort users by their role
- Group users under their roles when there are more than 10 users
- Make current user or role bold in dropdown + add eye icon
- Improve compatibility with Pods Framework
- Added css for style improvements
- Some extra code improvements
Created from nothingness just to be one of the cool kids. Yay!