Version 1.2.3 - Granular User Permissions.
Enhancements & Security Refinements
This release introduces a more refined and secure permission system for the user management endpoints, establishing a clear hierarchy between 'Manager' and 'Administrator' roles.
- New
manage_api_usersCapability: A new capability has been added to explicitly grant user management permissions via the API, decoupling it from WordPress's default role hierarchy. - Role-Based Restrictions:
- Managers can now create, view, and edit other users (excluding administrators).
- User Deletion is now restricted to Administrators only for enhanced security.
- Filtered Roles List: The
/rolesendpoint now intelligently filters the list of roles. Managers will only see custom-defined roles, while Administrators can see all roles, preventing accidental assignment of high-level permissions.