[5.x]: Implement "View Users" Permission to Allow Viewing Craft Customer Details Without Edit Rights #16034
-
What happened?Description In Craft Commerce, when a user without the "Edit users" permission views an order in the control panel ( This issue was discussed in craftcms/commerce#3732, where it was suggested to create a feature request for adding a "View users" permission in Craft CMS. Steps to reproduce
Expected behavior The user should be able to view customer details, including custom fields and personal preferences, without encountering a 403 Forbidden error, while still lacking the ability to edit user information. Actual behavior Clicking the "View customer" link results in a 403 Forbidden error, preventing the user from viewing customer details. Additional context Introducing a "View users" permission in Craft CMS would allow specific user groups to access customer details without granting full editing rights. This enhancement would enable administrators to provide necessary access to customer information for certain roles without compromising security or granting excessive permissions. Craft CMS version5.4.9 PHP versionNo response Operating system and versionNo response Database type and versionNo response Image driver and versionNo response Installed plugins and versions |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Craft 5.6 introduced a new “View users” user permission! https://craftcms.com/docs/5.x/system/user-management.html#permissions |
Beta Was this translation helpful? Give feedback.
Craft 5.6 introduced a new “View users” user permission!
https://craftcms.com/docs/5.x/system/user-management.html#permissions